TaskAddParameter.withDependsOn(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)

参数

dependsOn
TaskDependencies

the dependsOn value to set

返回

the TaskAddParameter object itself.

适用于