Edit

Bagikan melalui


YieldAwaitable.GetAwaiter Method

Definition

Retrieves a YieldAwaitable.YieldAwaiter object for this instance of the class.

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

Returns

The object that is used to monitor the completion of an asynchronous operation.

Remarks

This type and its members are intended for use by the compiler.

Applies to