System.Runtime.CompilerServices.AsyncTaskMethodBuilder<TResult> Members

The members of System.Runtime.CompilerServices.AsyncTaskMethodBuilder<TResult> are listed below.

See Also: Inherited members from System.ValueType

Public Properties

[read-only]
TaskSystem.Threading.Tasks.Task<TResult>.

Gets the task for this builder.

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.