AsyncTaskMethodBuilder Structure |
Namespace: System.Runtime.CompilerServices
The AsyncTaskMethodBuilder 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 | ||
SetResult |
Completes the Task in the RanToCompletion state.
| |
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.) |