docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InvalidParentException

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

    Inheritance
    object
    Exception
    InvalidParentException
    Implements
    ISerializable
    _Exception
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    Namespace: Unity.Netcode
    Assembly: solution.dll
    Syntax
    public class InvalidParentException : Exception, ISerializable, _Exception

    Constructors

    Name Description
    InvalidParentException()

    Constructor for InvalidParentException

    InvalidParentException(string)

    Initializes a new instance of the Exception class with a specified error message.

    InvalidParentException(string, Exception)

    Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)