ConfiguredTaskAwaitable.ConfiguredTaskAwaiter ConfiguredTaskAwaitable.ConfiguredTaskAwaiter ConfiguredTaskAwaitable.ConfiguredTaskAwaiter ConfiguredTaskAwaitable.ConfiguredTaskAwaiter Struct

Définition

Fournit un élément awaiter pour un objet pouvant être attendu (ConfiguredTaskAwaitable).Provides an awaiter for an awaitable (ConfiguredTaskAwaitable) object.

public: value class ConfiguredTaskAwaitable::ConfiguredTaskAwaiter : System::Runtime::CompilerServices::ICriticalNotifyCompletion
public struct ConfiguredTaskAwaitable.ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion
type ConfiguredTaskAwaitable.ConfiguredTaskAwaiter = struct
    interface ICriticalNotifyCompletion
    interface INotifyCompletion
Public Structure ConfiguredTaskAwaitable.ConfiguredTaskAwaiter
Implements ICriticalNotifyCompletion
Héritage
ConfiguredTaskAwaitable.ConfiguredTaskAwaiterConfiguredTaskAwaitable.ConfiguredTaskAwaiterConfiguredTaskAwaitable.ConfiguredTaskAwaiterConfiguredTaskAwaitable.ConfiguredTaskAwaiter
Implémente

Remarques

Ce type est destiné à l’utilisation par le compilateur ; n’utilisez pas directement dans votre code.This type is intended for compiler use; do not use it directly in your code.

Propriétés

IsCompleted IsCompleted IsCompleted IsCompleted

Obtient une valeur qui spécifie si la tâche attendue est terminée.Gets a value that specifies whether the task being awaited is completed.

Méthodes

GetResult() GetResult() GetResult() GetResult()

Met fin à l’attente sur la tâche terminée.Ends the await on the completed task.

OnCompleted(Action) OnCompleted(Action) OnCompleted(Action) OnCompleted(Action)

Planifie l’action de continuation pour la tâche associée à cet élément awaiter.Schedules the continuation action for the task associated with this awaiter.

UnsafeOnCompleted(Action) UnsafeOnCompleted(Action) UnsafeOnCompleted(Action) UnsafeOnCompleted(Action)

Planifie l’action de continuation pour la tâche associée à cet élément awaiter.Schedules the continuation action for the task associated with this awaiter.

S’applique à