System.Runtime.CompilerServices.TaskAwaiter<TResult> Members

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

See Also: Inherited members from System.ValueType

Public Properties

[read-only]
IsCompletedbool.

Gets a value that indicates whether the asynchronous task has completed.

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.