System.Runtime.CompilerServices.AsyncTaskMethodBuilder<TResult>: Method Members

The methods of System.Runtime.CompilerServices.AsyncTaskMethodBuilder<TResult> are listed below. For a list of all members, see the AsyncTaskMethodBuilder<TResult> Members list.

See Also: Inherited members from System.ValueType

Public Methods

AwaitOnCompleted<TAwaiter,TStateMachine>(ref TAwaiter, ref TStateMachine)
Documentation for this section has not yet been entered.
AwaitUnsafeOnCompleted<TAwaiter,TStateMachine>(ref TAwaiter, ref TStateMachine)
Documentation for this section has not yet been entered.
static
Create() : AsyncTaskMethodBuilder<TResult>

Creates an instance of the System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1 class.

SetException(Exception)

Marks the task as failed and binds the specified exception to the task.

SetResult(TResult)
Documentation for this section has not yet been entered.
SetStateMachine(IAsyncStateMachine)

Associates the builder with the specified state machine.

Start<TStateMachine>(ref TStateMachine)
Documentation for this section has not yet been entered.