ConfiguredValueTaskAwaitable<TResult>.ConfiguredValueTaskAwaiter Struct

Definition

Fournit un awaiter pour un ConfiguredValueTaskAwaitable<TResult>.Provides an awaiter for a ConfiguredValueTaskAwaitable<TResult>.

public: value class ConfiguredValueTaskAwaitable<TResult>::ConfiguredValueTaskAwaiter : System::Runtime::CompilerServices::ICriticalNotifyCompletion
public struct ConfiguredValueTaskAwaitable<TResult>.ConfiguredValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion
type ConfiguredValueTaskAwaitable<'Result>.ConfiguredValueTaskAwaiter = struct
    interface ICriticalNotifyCompletion
    interface INotifyCompletion
Public Structure ConfiguredValueTaskAwaitable(Of TResult).ConfiguredValueTaskAwaiter
Implements ICriticalNotifyCompletion

Type Parameters

TResult

Type du résultat produit par la tâche.The type of the result produced by the task.

Inheritance
ConfiguredValueTaskAwaitable<TResult>.ConfiguredValueTaskAwaiter
Implements

Properties

IsCompleted

Obtient une valeur indiquant si la ConfiguredValueTaskAwaitable<TResult> est terminée.Gets a value that indicates whether the ConfiguredValueTaskAwaitable<TResult> has completed.

Methods

GetResult()

Obtient le résultat de la ValueTask<TResult>.Gets the result of the ValueTask<TResult>.

OnCompleted(Action)

Planifie l’action de continuation pour la ConfiguredValueTaskAwaitable<TResult>.Schedules the continuation action for the ConfiguredValueTaskAwaitable<TResult>.

UnsafeOnCompleted(Action)

Planifie l’action de continuation pour la ConfiguredValueTaskAwaitable<TResult>.Schedules the continuation action for the ConfiguredValueTaskAwaitable<TResult>.

Applies to