Dela via


WorkItemPriority Enum

Definition

Specifies the priority of a work item relative to other work items in the thread pool.

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

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Low -1

The work item should run at low priority.

Normal 0

The work item should run at normal priority. This is the default value.

High 1

The work item should run at high priority.

Applies to

See also