IBackgroundCopyJob::SetPriority method
Specifies the priority level of your job. The priority level determines when your job is processed relative to other jobs in the transfer queue.
Syntax
HRESULT SetPriority(
[in] BG_JOB_PRIORITY Priority
);
Parameters
-
Priority [in]
-
Specifies the priority level of your job relative to other jobs in the transfer queue. The default is BG_JOB_PRIORITY_NORMAL. For a list of priority levels, see the BG_JOB_PRIORITY enumeration.
Return value
This method returns the following HRESULT values, as well as others.
Return code | Description |
---|---|
|
Job priority was successfully set. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 10, version 1709 [desktop apps only] |
Minimum supported server |
Windows Server, version 1709 [desktop apps only] |
Header |
|
IDL |
|
Library |
|
DLL |
|
IID |
IID_IBackgroundCopyJob is defined as 37668D37-507E-4160-9316-26306D150B12 |