System.Runtime.CompilerServices.TaskAwaiter Members

The members of System.Runtime.CompilerServices.TaskAwaiter 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()

Ends the wait for the completion of the asynchronous task.

OnCompleted(Action)

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

UnsafeOnCompleted(Action)

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