BatchJob.OnTaskFailure 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.
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
Azure SDK for .NET