DispatcherPriorityAwaiter DispatcherPriorityAwaiter DispatcherPriorityAwaiter DispatcherPriorityAwaiter Struct

Definição

Representa um objeto que aguarda a conclusão de uma tarefa assíncrona.Represents an object that waits for the completion of an asynchronous task.

public value class DispatcherPriorityAwaiter : System::Runtime::CompilerServices::INotifyCompletion
public struct DispatcherPriorityAwaiter : System.Runtime.CompilerServices.INotifyCompletion
type DispatcherPriorityAwaiter = struct
    interface INotifyCompletion
Public Structure DispatcherPriorityAwaiter
Implements INotifyCompletion
Herança
DispatcherPriorityAwaiterDispatcherPriorityAwaiterDispatcherPriorityAwaiterDispatcherPriorityAwaiter
Implementações

Propriedades

IsCompleted IsCompleted IsCompleted IsCompleted

Obtém um valor que indica se a tarefa assíncrona foi concluída.Gets a value that indicates whether the asynchronous task has completed.

Métodos

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

Termina a espera pela conclusão da tarefa assíncrona.Ends the wait for the completion of the asynchronous task.

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

Define a ação a ser executada quando o objeto DispatcherPriorityAwaiter para de esperar a conclusão da tarefa assíncrona.Sets the action to perform when the DispatcherPriorityAwaiter object stops waiting for the asynchronous task to complete.

Aplica-se a