docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor InvalidKeyException

    InvalidKeyException(object)

    Construct a new InvalidKeyException.

    Declaration
    public InvalidKeyException(object key)
    Parameters
    Type Name Description
    object key

    The key that caused the exception.

    InvalidKeyException(object, Type)

    Construct a new InvalidKeyException.

    Declaration
    public InvalidKeyException(object key, Type type)
    Parameters
    Type Name Description
    object key

    The key that caused the exception.

    Type type

    The type of the key that caused the exception.

    InvalidKeyException(object, Type, MergeMode)

    Construct a new InvalidKeyException.

    Declaration
    public InvalidKeyException(object key, Type type, Addressables.MergeMode mergeMode)
    Parameters
    Type Name Description
    object key

    The key that caused the exception.

    Type type

    The type of the key that caused the exception.

    Addressables.MergeMode mergeMode

    The mergeMode of the input that caused the exception.

    InvalidKeyException()

    Exception to encapsulate invalid key errors.

    Declaration
    public InvalidKeyException()

    InvalidKeyException(string)

    Construct a new InvalidKeyException.

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

    The message for the exception.

    InvalidKeyException(string, Exception)

    Construct a new InvalidKeyException.

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

    The message for the exception.

    Exception innerException

    A message that describes what caused the exception.

    InvalidKeyException(SerializationInfo, StreamingContext)

    Construct a new InvalidKeyException.

    Declaration
    protected InvalidKeyException(SerializationInfo message, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo message

    The message for the exception.

    StreamingContext context

    Describes the source and destination of a given serialized stream.

    In This Article
    Back to top
    Copyright © 2025 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)