TaskAddParameter.DependsOn Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
[<Newtonsoft.Json.JsonProperty(PropertyName="dependsOn")>]
member this.DependsOn : Microsoft.Azure.Batch.Protocol.Models.TaskDependencies with get, set
Public Property DependsOn As TaskDependencies
Property Value
- 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.