Skip to main content

Unity.Netcode.VisibilityChangeException

Exception thrown when a visibility change fails

Inheritance#

System.Object

System.Exception

VisibilityChangeException

Implements#

System.Runtime.InteropServices._Exception

System.Runtime.Serialization.ISerializable

Inherited Members#

System.Exception.GetBaseException()

System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

System.Exception.GetType()

System.Exception.ToString()

System.Exception.Data

System.Exception.HelpLink

System.Exception.HResult

System.Exception.InnerException

System.Exception.Message

System.Exception.Source

System.Exception.StackTrace

System.Exception.TargetSite

System.Object.Equals(System.Object)

System.Object.Equals(System.Object, System.Object)

System.Object.GetHashCode()

System.Object.MemberwiseClone()

System.Object.ReferenceEquals(System.Object, System.Object)

Syntax#
public class VisibilityChangeException : Exception, _Exception, ISerializable

Constructors#

VisibilityChangeException()#

Constructs a VisibilityChangeException

Declaration#
public VisibilityChangeException()

VisibilityChangeException(String)#

Constructs a VisibilityChangeException with a message

Declaration#
public VisibilityChangeException(string message)
Parameters#
TypeNameDescription
System.StringmessageThe exception message

VisibilityChangeException(String, Exception)#

Constructs a VisibilityChangeException with a message and a inner exception

Declaration#
public VisibilityChangeException(string message, Exception inner)
Parameters#
TypeNameDescription
System.StringmessageThe exception message
System.ExceptioninnerThe inner exception

Implements#

System.Runtime.InteropServices._Exception

System.Runtime.Serialization.ISerializable