ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter Estructura

Definición

Proporciona un objeto que ejecuta await para un objeto que admite await (ConfiguredTaskAwaitable<TResult>).Provides an awaiter for an awaitable object(ConfiguredTaskAwaitable<TResult>).

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

Parámetros de tipo

TResult
Herencia
ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter
Implementaciones

Comentarios

Este tipo está pensado para el uso del compilador. no lo use directamente en el código.This type is intended for compiler use; do not use it directly in your code.

Propiedades

IsCompleted

Obtiene un valor que especifica si la tarea que se espera está completada.Gets a value that specifies whether the task being awaited has been completed.

Métodos

GetResult()

Finaliza la espera sobre la tarea completada.Ends the await on the completed task.

OnCompleted(Action)

Programa la acción de continuación para la tarea asociada a este awaiter.Schedules the continuation action for the task associated with this awaiter.

UnsafeOnCompleted(Action)

Programa la acción de continuación para la tarea asociada a este awaiter.Schedules the continuation action for the task associated with this awaiter.

Se aplica a