docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AsyncOperationHandleException

    Exception thrown when awaiting a failed AsyncOperationHandle or 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 : OperationException, ISerializable
    Remarks

    Handle is a reference dedicated to this exception, distinct from the awaited handle - which ToAwaitable already releases automatically on failure (unless it already had its own release-on-completion listener, e.g. from an autoReleaseHandle: true API). This lets a caller who only awaited still inspect Status or a partial Result and release it via Handle.

    Constructors

    Name Description
    AsyncOperationHandleException(AsyncOperationHandle, string, Exception)

    Creates a new instance of AsyncOperationHandleException.

    Properties

    Name Description
    Handle

    The handle for the operation that failed. See the remarks on this type for its release ownership.

    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)