Share via


BatchJob.OnTaskFailure Property

Definition

The action the Batch service should take when any Task in the Job fails. A Task is considered to 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; }
member this.OnTaskFailure : Nullable<Azure.Compute.Batch.OnBatchTaskFailure>
Public ReadOnly Property OnTaskFailure As Nullable(Of OnBatchTaskFailure)

Property Value

Applies to