| AsyncTaskMethodBuilderTResult Structure |
Namespace: System.Runtime.CompilerServices
The AsyncTaskMethodBuilderTResult type exposes the following members.
| Name | Description | |
|---|---|---|
| AwaitOnCompletedTAwaiter, TStateMachine |
Schedules the specified state machine to be pushed forward when the specified awaiter completes.
| |
| AwaitUnsafeOnCompletedTAwaiter, TStateMachine |
Schedules the specified state machine to be pushed forward when the specified awaiter completes.
| |
| Create |
Initializes a new AsyncTaskMethodBuilder. | |
| Equals |
Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode |
Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType |
Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetException |
Completes the TaskTResult in the Faulted state with the specified
exception.
| |
| SetResult |
Completes the TaskTResult in the RanToCompletion state with the
specified result.
| |
| SetStateMachine |
Associates the builder with the state machine it represents. | |
| StartTStateMachine |
Initiates the builder's execution with the associated state machine. | |
| ToString |
Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
| Task |
Gets the TaskTResult for this builder. |