ConfiguredValueTaskAwaitable<TResult> 结构

定义

提供用于启用 ValueTask<TResult> 上的已配置等待的可等待类型。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>

方法

GetAwaiter()

返回此 ConfiguredValueTaskAwaitable<TResult> 实例的 awaiter。Returns an awaiter for this ConfiguredValueTaskAwaitable<TResult> instance.

适用于