ConfiguredTaskAwaitable<TResult>.GetAwaiter 方法
定义
返回此可等待对象的 Awaiter。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
返回
Awaiter。The awaiter.
注解
此方法供编译器使用;不要直接在代码中使用它。This method is intended for compiler use; do not use it directly in your code.