Edit

Share via


PreemptionMode Enum

Definition

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.

Applies to