System.Runtime.CompilerServices.TaskAwaiter: Method Members

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

See Also: Inherited members from System.ValueType

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.