DispatcherQueuePriority Enum


Defines the priority levels that can be given to work assigned to a DispatcherQueue.

public enum class DispatcherQueuePriority
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
/// [Windows.Foundation.Metadata.WebHostHidden]
enum DispatcherQueuePriority
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
public enum DispatcherQueuePriority
Public Enum DispatcherQueuePriority
Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.WebHostHiddenAttribute


High 10

Work scheduled at High priority will be dispatched first, along with other High priority System tasks, before processing Normal or Low priority work.

Low -10

Low priority work will be scheduled when there isn't any other work to process. Work at Low priority can be preempted by new incoming High and Normal priority tasks.

Normal 0

Work will be dispatched once all High priority tasks are dispatched. If a new High priority work is scheduled, all new High priority tasks are processed before resuming Normal tasks. This is the default priority.

Applies to