編集

次の方法で共有


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

An awaiter instance.

Remarks

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

Applies to