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

JobPreparationTask.WaitForSuccess 属性

定义

获取或设置 Batch 服务是否应在计算节点上计划任何任务之前等待作业准备任务的成功完成。

public bool? WaitForSuccess { get; set; }
member this.WaitForSuccess : Nullable<bool> with get, set
Public Property WaitForSuccess As Nullable(Of Boolean)

属性值

注解

如果作业准备任务的 ExitCode 为 0,则认为其执行成功。 如果未指定此属性,Batch 服务将分配默认值 true。

适用于