Task<TResult>.GetAwaiter Method

Definition

Gets an awaiter used to await this Task<TResult>.

public System.Runtime.CompilerServices.TaskAwaiter<TResult> GetAwaiter ();
Returns

An awaiter instance.

Remarks

This method is intended for compiler user rather than use directly in code.

Applies to