Condividi tramite


StartTaskInformation.RetryCount Property

Definition

Gets or sets the number of times the Task has been retried by the Batch service.

[Newtonsoft.Json.JsonProperty(PropertyName="retryCount")]
public int RetryCount { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="retryCount")>]
member this.RetryCount : int with get, set
Public Property RetryCount As Integer

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

Task application failures (non-zero exit code) are retried, pre-processing errors (the Task could not be run) and file upload errors are not retried. The Batch service will retry the Task up to the limit specified by the constraints.

Applies to