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

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

See Also: Inherited members from System.ValueType

Public Methods

GetResult() : TResult

Ends the wait for the completion of the asynchronous task.

OnCompleted(Action)

Sets the action to perform when the System.Runtime.CompilerServices.TaskAwaiter`1 object stops waiting for the asynchronous task to complete.

UnsafeOnCompleted(Action)

Schedules the continuation action for the asynchronous task associated with this awaiter.