DispatcherQueuePriority
DispatcherQueuePriority
DispatcherQueuePriority
DispatcherQueuePriority
Enum
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Defines the priority levels that can be given to work assigned to a DispatcherQueue.
public : enum class DispatcherQueuePrioritypublic enum DispatcherQueuePriorityPublic Enum DispatcherQueuePriority// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Fields
| High High High High | Prerelease. Work scheduled at High priority will be dispatched first, along with other High priority System tasks, before processing Normal or Low priority work. |
| Low Low Low Low | Prerelease. 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 Normal Normal Normal | Prerelease. 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. |