PreemptionMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines when a higher priority job can preempt a lower priority job.
public enum PreemptionMode
type PreemptionMode =
Public Enum PreemptionMode
- Inheritance
-
PreemptionMode
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Running jobs cannot be preempted by higher priority jobs. This enumeration member represents a value of 0. |
| Graceful | 1 | A running job can be preempted only after the tasks that are currently running complete. Any remaining tasks in the job will not run. This enumeration member represents a value of 1. |
| Immediate | 2 | A running job can be preempted immediately. This enumeration member represents a value of 2. |