你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BatchAccountPoolStartTask.MaxTaskRetryCount 属性

定义

批处理服务在其退出代码非零时重试任务。 请注意,此值专门用于控制重试的次数。 批处理服务将尝试任务一次,然后重试,直至达到此上限为止。 例如,如果最大重试计数为 3,则 Batch (一次初始尝试最多尝试 4 次,) 重试 3 次。 如果最大重试计数为 0,则 Batch 服务不会重试该任务。 如果最大重试计数为 -1,Batch 服务将无限制地重试任务。

public int? MaxTaskRetryCount { get; set; }
member this.MaxTaskRetryCount : Nullable<int> with get, set
Public Property MaxTaskRetryCount As Nullable(Of Integer)

属性值

适用于