1 out of 3 rated this helpful - Rate this topic

CoreDispatcherPriority enumeration

Applies to Windows and Windows Phone

Defines the priority for window event dispatches.

Syntax


public enum class CoreDispatcherPriority

Attributes

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

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

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.