Modifica

Condividi tramite


DispatcherPriorityAwaitable Struct

Definition

Represents an awaitable object that asynchronously yields control back to the current dispatcher and provides an opportunity for the dispatcher to process other events.

public value class DispatcherPriorityAwaitable
public struct DispatcherPriorityAwaitable
type DispatcherPriorityAwaitable = struct
Public Structure DispatcherPriorityAwaitable
Inheritance
DispatcherPriorityAwaitable

Remarks

The Dispatcher.Yield method returns a DispatcherPriorityAwaitable.

Methods

GetAwaiter()

Returns an object that waits for the completion of an asynchronous task.

Applies to