docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AsyncOperationHandleException<TObject>

    Exception thrown when awaiting a failed AsyncOperationHandle<TObject> directly (e.g. await handle;).

    Inheritance
    object
    Exception
    OperationException
    AsyncOperationHandleException
    AsyncOperationHandleException<TObject>
    Implements
    ISerializable
    Inherited Members
    OperationException.ToString()
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    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.ResourceManagement.Exceptions
    Assembly: Unity.ResourceManager.dll
    Syntax
    public class AsyncOperationHandleException<TObject> : AsyncOperationHandleException, ISerializable
    Type Parameters
    Name Description
    TObject

    The object type of the underlying operation.

    Remarks

    See AsyncOperationHandleException. This typed variant exposes the failed handle as an AsyncOperationHandle<TObject> so its Result can be accessed directly, without a cast.

    Constructors

    Name Description
    AsyncOperationHandleException(AsyncOperationHandle<TObject>, string, Exception)

    Creates a new instance of AsyncOperationHandleException<TObject>.

    Properties

    Name Description
    Handle

    The handle for the operation that failed.

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