Jaa


DispatcherQueuePriority Enum

Definition

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

public enum class DispatcherQueuePriority
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class DispatcherQueuePriority
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum DispatcherQueuePriority
Public Enum DispatcherQueuePriority
Inheritance
DispatcherQueuePriority
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Fields

Name Value Description
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.

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.

Applies to