共用方式為


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; }
[<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.

Applies to