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

    InvalidParentException()

    Constructor for InvalidParentException

    Declaration
    public InvalidParentException()

    InvalidParentException(string)

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

    Declaration
    public InvalidParentException(string message)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    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.

    Declaration
    public InvalidParentException(string message, Exception innerException)
    Parameters
    Type Name Description
    string message

    The error message that explains the reason for the exception.

    Exception innerException

    The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

    Implements

    ISerializable
    _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)