StartTask.MaxTaskRetryCount 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定可重試工作的最大次數。
[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
備註
如果工作的結束代碼不是零,Batch 服務會重試工作。 請注意,這個值會特別控制重試次數。 Batch 服務會嘗試工作一次,然後可一直重試直到達此限制。 例如,如果重試計數上限為 3,Batch 會嘗試工作最多 4 次, (一次初始嘗試,3 次重試) 。 如果重試計數上限為 0,Batch 服務不會重試工作。 如果重試計數上限為 -1,Batch 服務會重試工作,而沒有限制。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應