DispatcherPriorityAwaiter DispatcherPriorityAwaiter DispatcherPriorityAwaiter DispatcherPriorityAwaiter Struct

Definition

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
Inheritance
DispatcherPriorityAwaiterDispatcherPriorityAwaiterDispatcherPriorityAwaiterDispatcherPriorityAwaiter
Implements

Properties

IsCompleted IsCompleted IsCompleted IsCompleted

Gets a value that indicates whether the asynchronous task has completed.

Methods

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

Ends the wait for the completion of the asynchronous task.

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

Sets the action to perform when the DispatcherPriorityAwaiter object stops waiting for the asynchronous task to complete.

Applies to