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

ExitOptions.DependencyAction 属性

定义

获取或设置 Batch 服务应对依赖于此任务的任务执行的操作。

public Microsoft.Azure.Batch.Common.DependencyAction? DependencyAction { get; set; }
member this.DependencyAction : Nullable<Microsoft.Azure.Batch.Common.DependencyAction> with get, set
Public Property DependencyAction As Nullable(Of DependencyAction)

属性值

注解

默认值 Satisfy 为退出代码 0, Block 对于所有其他退出条件。 如果作业的 UsesTaskDependencies 为 false,则不能添加具有此属性集的任务。

适用于