TaskAddParameter.DependsOn Property

Definition

Gets or sets the tasks that this task depends on.

[Newtonsoft.Json.JsonProperty(PropertyName="dependsOn")]
public Microsoft.Azure.Batch.Protocol.Models.TaskDependencies DependsOn { get; set; }
member this.DependsOn : Microsoft.Azure.Batch.Protocol.Models.TaskDependencies with get, set
Public Property DependsOn As TaskDependencies

Property Value

TaskDependencies
Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

This task will not be scheduled until all tasks that it depends on have completed successfully. If any of those tasks fail and exhaust their retry counts, this task will never be scheduled. If the job does not have usesTaskDependencies set to true, and this element is present, the request fails with error code TaskDependenciesNotSpecifiedOnJob.

Applies to