Condividi tramite


CloudJob.AllowTaskPreemption Property

Definition

Gets or sets whether Tasks in this job can be preempted by other high priority jobs.

public bool? AllowTaskPreemption { get; set; }
member this.AllowTaskPreemption : Nullable<bool> with get, set
Public Property AllowTaskPreemption As Nullable(Of Boolean)

Property Value

Remarks

If the value is set to True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the update job API.

Applies to