Bridge

AsyncTaskMethodBuilder Members

The AsyncTaskMethodBuilder type exposes the following members.

Methods


  Name Description
Public method AwaitOnCompleted<(Of <<'(TAwaiter, TStateMachine>)>>)
Schedules the state machine to proceed to the next action when the specified awaiter completes.
Public method AwaitUnsafeOnCompleted<(Of <<'(TAwaiter, TStateMachine>)>>)
Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.
Public method Static member Create
Creates an instance of the AsyncTaskMethodBuilder class.
Public method SetException
Public method SetResult
Marks the task as successfully completed.
Public method SetStateMachine
Public method Start<(Of <<'(TStateMachine>)>>)
Begins running the builder with the associated state machine.

Properties


  Name Description
Public property Task
Gets the task for this builder.