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()

    New Invalid Key Exception

    Declaration
    public InvalidKeyException()

    InvalidKeyException(string)

    New Invalid Key Exception

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

    Exception message

    InvalidKeyException(string, Exception)

    New Invalid Key Exception

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

    Exception message

    Exception innerException

    Inner exception that caused the problem

    InvalidKeyException(SerializationInfo, StreamingContext)

    New Invalid Key Exception

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

    Exception message

    StreamingContext context

    Streaming context being used when exception was thrown

    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)