ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter Struct

Definição

Fornece um awaiter para um objeto (ConfiguredTaskAwaitable<TResult>) aguardável.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
Herança
ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiterConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiterConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiterConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter
Implementações

Comentários

Este tipo destina-se ao uso do compilador; Não o use diretamente em seu código.This type is intended for compiler use; do not use it directly in your code.

Propriedades

IsCompleted IsCompleted IsCompleted IsCompleted

Obtém um valor que especifica se a tarefa sendo aguardada foi concluída.Gets a value that specifies whether the task being awaited has been completed.

Métodos

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

Termina o await na tarefa concluída.Ends the await on the completed task.

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

Agenda a ação de continuação para a tarefa associada a esse awaiter.Schedules the continuation action for the task associated with this awaiter.

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

Agenda a ação de continuação para a tarefa associada a esse awaiter.Schedules the continuation action for the task associated with this awaiter.

Aplica-se a