Udostępnij za pośrednictwem


JoinableTask.GetAwaiter Method

Definition

Gets an awaiter that is equivalent to calling JoinAsync(CancellationToken).

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

A task whose result is the result of the asynchronous operation.

Applies to