Add Parameter. with Depends On(TaskDependencies dependsOn) 方法
Set 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.
public TaskAddParameter withDependsOn(TaskDependencies dependsOn)
the dependsOn value to set
the TaskAddParameter object itself.