DispatcherPriorityAwaiter DispatcherPriorityAwaiter DispatcherPriorityAwaiter DispatcherPriorityAwaiter Struct

Definición

Representa un objeto que espera la finalización de una tarea asincrónica.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
Herencia
DispatcherPriorityAwaiterDispatcherPriorityAwaiterDispatcherPriorityAwaiterDispatcherPriorityAwaiter
Implementaciones

Propiedades

IsCompleted IsCompleted IsCompleted IsCompleted

Obtiene un valor que indica si se ha completado la tarea asincrónica.Gets a value that indicates whether the asynchronous task has completed.

Métodos

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

Finaliza la espera para la finalización de la tarea asincrónica.Ends the wait for the completion of the asynchronous task.

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

Establece la acción que se va a realizar cuando el objeto DispatcherPriorityAwaiter detiene la espera de la tarea asincrónica a completar.Sets the action to perform when the DispatcherPriorityAwaiter object stops waiting for the asynchronous task to complete.

Se aplica a