ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter Estrutura
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
- 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 |
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() |
Termina o await na tarefa concluída.Ends the await on the completed task. |
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) |
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. |