CoreDispatcherPriority
CoreDispatcherPriority
CoreDispatcherPriority
CoreDispatcherPriority
Enum
Definition
Defines the priority for window event dispatches.
public : enum class CoreDispatcherPrioritypublic enum CoreDispatcherPriorityPublic Enum CoreDispatcherPriority// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| High High High High | High priority. Delegates are invoked immediately for all synchronous requests. Asynchronous requests are queued and processed before any other request type. NoteDo 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. |
| Idle Idle Idle Idle | 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 Low Low Low | Low priority. Delegates are processed if there are no higher priority events pending in the queue. |
| Normal Normal Normal Normal | Normal priority. Delegates are processed in the order they are scheduled. |