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

    New Invalid Key Exception

    InvalidKeyException(object)

    Construct a new InvalidKeyException.

    InvalidKeyException(object, Type)

    Construct a new InvalidKeyException.

    InvalidKeyException(object, Type, MergeMode)

    Construct a new InvalidKeyException.

    InvalidKeyException(SerializationInfo, StreamingContext)

    New Invalid Key Exception

    InvalidKeyException(string)

    New Invalid Key Exception

    InvalidKeyException(string, Exception)

    New Invalid Key Exception

    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)