docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InvalidKeyException

    Exception to encapsulate invalid key errors.

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

    Constructors

    Name Description
    InvalidKeyException()

    Exception to encapsulate invalid key errors.

    InvalidKeyException(object)

    Construct a new InvalidKeyException.

    InvalidKeyException(object, Type)

    Construct a new InvalidKeyException.

    InvalidKeyException(object, Type, MergeMode)

    Construct a new InvalidKeyException.

    InvalidKeyException(SerializationInfo, StreamingContext)

    Construct a new InvalidKeyException.

    InvalidKeyException(string)

    Construct a new InvalidKeyException.

    InvalidKeyException(string, Exception)

    Construct a new InvalidKeyException.

    Properties

    Name Description
    Key

    The key used to generate the exception.

    MergeMode

    MergeMode if used, else null.

    Message

    Stores information about the exception.

    Type

    The type of the key used to generate the exception.

    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)