Share via


BatchJobSpecification.OnTaskFailure Property

Definition

The action the Batch service should take when any Task fails in a Job created under this schedule. A Task is considered to have failed if it have failed if has a failureInfo. A failureInfo is set if the Task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the Task, for example due to a resource file download error. The default is noaction.

public Azure.Compute.Batch.OnBatchTaskFailure? OnTaskFailure { get; set; }
member this.OnTaskFailure : Nullable<Azure.Compute.Batch.OnBatchTaskFailure> with get, set
Public Property OnTaskFailure As Nullable(Of OnBatchTaskFailure)

Property Value

Applies to