JobAddParameter.AllowTaskPreemption Property
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.
Gets or sets whether Tasks in this job can be preempted by other high priority jobs
[Newtonsoft.Json.JsonProperty(PropertyName="allowTaskPreemption")]
public bool? AllowTaskPreemption { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="allowTaskPreemption")>]
member this.AllowTaskPreemption : Nullable<bool> with get, set
Public Property AllowTaskPreemption As Nullable(Of Boolean)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
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.