Rediger

Del via


ConfiguredTaskAwaitable<TResult>.GetAwaiter Method

Definition

Returns an awaiter for this awaitable object.

public:
 System::Runtime::CompilerServices::ConfiguredTaskAwaitable<TResult>::ConfiguredTaskAwaiter GetAwaiter();
public System.Runtime.CompilerServices.ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter GetAwaiter ();
member this.GetAwaiter : unit -> System.Runtime.CompilerServices.ConfiguredTaskAwaitable<'Result>.ConfiguredTaskAwaiter
Public Function GetAwaiter () As ConfiguredTaskAwaitable(Of TResult).ConfiguredTaskAwaiter

Returns

The awaiter.

Remarks

This method is intended for compiler use; do not use it directly in your code.

Applies to