Windows Dev Center

CoreDispatcherPriority enumeration

Defines the priority for window event dispatches.

Syntax


public enum CoreDispatcherPriority

Members

The CoreDispatcherPriority enumeration has these members.

MemberValueDescription
Idle-2

Lowest priority. Use this priority for background tasks. Delegates are processed when the window's main thread is idle and there is no input pending in the queue.

Low-1

Low priority. Delegates are processed if there are no higher priority events pending in the queue.

Normal0

Normal priority. Delegates are processed in the order they are scheduled.

High1

High priority. Delegates are invoked immediately for all synchronous requests. Asynchronous requests are queued and processed before any other request type.

Caution  Do not use this priority level in your app. It is reserved for system events. Using this priority can lead to the starvation of other messages, including system events.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]
[WebHostHidden()]

 

 

Show:
© 2015 Microsoft