Task<TResult>.GetAwaiter Task<TResult>.GetAwaiter Task<TResult>.GetAwaiter Method

Definition

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

public:
 System::Runtime::CompilerServices::TaskAwaiter<TResult> GetAwaiter();
public System.Runtime.CompilerServices.TaskAwaiter<TResult> GetAwaiter ();
Public Function GetAwaiter () As TaskAwaiter(Of TResult)
Returns

Remarks

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

Applies to