Task.GetAwaiter Task.GetAwaiter Task.GetAwaiter Task.GetAwaiter Method

Definition

Gets an awaiter used to await this Task.

public:
 System::Runtime::CompilerServices::TaskAwaiter GetAwaiter();
public System.Runtime.CompilerServices.TaskAwaiter GetAwaiter ();
member this.GetAwaiter : unit -> System.Runtime.CompilerServices.TaskAwaiter
Public Function GetAwaiter () As TaskAwaiter

Returns

Remarks

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

Applies to