다음을 통해 공유


StartTask.MaxTaskRetryCount 속성

정의

작업이 다시 시도될 수 있는 최대 횟수를 가져오거나 설정합니다.

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

속성 값

특성
Newtonsoft.Json.JsonPropertyAttribute

설명

종료 코드가 0이 아니면 Batch 서비스가 태스크를 다시 시도합니다. 이 값은 구체적으로 재시도 횟수를 제어합니다. Batch 서비스는 태스크를 한 번 시도한 후 이 한도까지 다시 시도할 수 있습니다. 예를 들어 최대 재시도 횟수가 3인 경우 Batch는 작업을 최대 4번(한 번의 초기 시도 및 3번의 다시 시도)으로 시도합니다. 최대 재시도 횟수가 0이면 Batch 서비스에서 작업을 다시 시도하지 않습니다. 최대 재시도 횟수가 -1이면 Batch 서비스는 제한 없이 작업을 다시 시도합니다.

적용 대상