Compartilhar via


BatchJobManagerTask.KillJobOnCompletion Property

Definition

Whether completion of the Job Manager Task signifies completion of the entire Job. If true, when the Job Manager Task completes, the Batch service marks the Job as complete. If any Tasks are still running at this time (other than Job Release), those Tasks are terminated. If false, the completion of the Job Manager Task does not affect the Job status. In this case, you should either use the onAllTasksComplete attribute to terminate the Job, or have a client or user terminate the Job explicitly. An example of this is if the Job Manager creates a set of Tasks but then takes no further role in their execution. The default value is true. If you are using the onAllTasksComplete and onTaskFailure attributes to control Job lifetime, and using the Job Manager Task only to create the Tasks for the Job (not to monitor progress), then it is important to set killJobOnCompletion to false.

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

Property Value

Applies to