Επεξεργασία

Κοινή χρήση μέσω


ConfiguredTaskAwaitable<TResult> Struct

Definition

Provides an awaitable object that enables configured awaits on a task.

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

Type Parameters

TResult

The type of the result produced by this Task<TResult>.

Inheritance
ConfiguredTaskAwaitable<TResult>

Remarks

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

Methods

GetAwaiter()

Returns an awaiter for this awaitable object.

Applies to