ConfiguredValueTaskAwaitable<TResult> ConfiguredValueTaskAwaitable<TResult> ConfiguredValueTaskAwaitable<TResult> ConfiguredValueTaskAwaitable<TResult> Struct

定義

提供可等候型別,啟用 ValueTask<TResult> 上已設定的 await。Provides an awaitable type that enables configured awaits on a ValueTask<TResult>.

generic <typename TResult>
public value class ConfiguredValueTaskAwaitable
public struct ConfiguredValueTaskAwaitable<TResult>
type ConfiguredValueTaskAwaitable<'Result> = struct
Public Structure ConfiguredValueTaskAwaitable(Of TResult)

類型參數

TResult

產生之結果的類型。The type of the produced result.

繼承
ConfiguredValueTaskAwaitable<TResult>ConfiguredValueTaskAwaitable<TResult>ConfiguredValueTaskAwaitable<TResult>ConfiguredValueTaskAwaitable<TResult>

方法

GetAwaiter() GetAwaiter() GetAwaiter() GetAwaiter()

傳回此 ConfiguredValueTaskAwaitable<TResult> 執行個體的 awaiter。Returns an awaiter for this ConfiguredValueTaskAwaitable<TResult> instance.

適用於