Class AsyncOperationHandleException<TObject>
Exception thrown when awaiting a failed AsyncOperationHandle<TObject> directly
(e.g. await handle;).
Inheritance
AsyncOperationHandleException<TObject>
Implements
Inherited Members
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. |