CloudTask.DependsOn Property


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



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