Skip to main content

Unity.Netcode.InvalidParentException

Exception thrown when the new parent candidate of the NetworkObject is not valid

Inheritance#

System.Object

System.Exception

InvalidParentException

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 InvalidParentException : Exception, _Exception, ISerializable

Constructors#

InvalidParentException()#

Declaration#
public InvalidParentException()

InvalidParentException(String)#

Declaration#
public InvalidParentException(string message)
Parameters#
TypeNameDescription
System.Stringmessage

InvalidParentException(String, Exception)#

Declaration#
public InvalidParentException(string message, Exception innerException)
Parameters#
TypeNameDescription
System.Stringmessage
System.ExceptioninnerException

Implements#

System.Runtime.InteropServices._Exception

System.Runtime.Serialization.ISerializable