JobExecutionFlags enumeration
Specifies whether jobs are executed synchronously or asynchronously.
Syntax
enum JobExecutionFlags {
None = 0,
ExecuteAsync = 1
};
Constants
-
None
-
The job will be executed synchronously. The call to ExecuteJob will not return until after the job has completed.
-
ExecuteAsync
-
The job will be executed asynchronously. The call to ExecuteJob will return immediately. The caller must rely on registered event handlers to determine when the job completes.
Remarks
JobExecutionFlags are specified in the JobExecutionInfo::Flags field.
Managed code uses the JobExecutionFlags enum.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|