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

CloudTask.DependsOn Property

Definition

Gets or sets any other tasks that this CloudTask depends on. The task will not be scheduled until all depended-on tasks have completed successfully.

public Microsoft.Azure.Batch.TaskDependencies DependsOn { get; set; }
member this.DependsOn : Microsoft.Azure.Batch.TaskDependencies with get, set
Public Property DependsOn As TaskDependencies

Property Value

Remarks

The job must set UsesTaskDependencies to true in order to use task dependencies. If UsesTaskDependencies is false (the default), adding a task with dependencies will fail with an error.

Applies to