BG_JOB_PRIORITY enumeration

The BG_JOB_PRIORITY enumeration defines the constant values that specify the priority level of a job.

Syntax

typedef enum  { 
  BG_JOB_PRIORITY_FOREGROUND,
  BG_JOB_PRIORITY_HIGH,
  BG_JOB_PRIORITY_NORMAL,
  BG_JOB_PRIORITY_LOW
} BG_JOB_PRIORITY;

Constants

BG_JOB_PRIORITY_FOREGROUND

Transfers the job in the foreground. Foreground transfers compete for network bandwidth with other applications, which can impede the user's network experience. This is the highest priority level.

BG_JOB_PRIORITY_HIGH

Transfers the job in the background. Background transfers use a small percentage of network bandwidth.

BG_JOB_PRIORITY_NORMAL

Delivery Optimization behavior is same for all non foreground job. See comments in BG_JOB_PRIORITY_HIGH for details.

BG_JOB_PRIORITY_LOW

Delivery Optimization behavior is same for all non foreground job. See comments in BG_JOB_PRIORITY_HIGH for details.

Remarks

Multiple foreground and background transfers can take place simultaneously.

Requirements

Requirement Value
Minimum supported client
Windows 10, version 1709 [desktop apps only]
Minimum supported server
Windows Server, version 1709 [desktop apps only]
Header
Deliveryoptimization.h

See also

IBackgroundCopyJob::GetPriority

IBackgroundCopyJob::SetPriority