docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor InvalidParentException

    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.

    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)