共用方式為


TaskDependencies Class

Definition

Specifies any dependencies of a task. Any task that is explicitly specified or within a dependency range must complete before the dependant task will be scheduled.

public class TaskDependencies
type TaskDependencies = class
Public Class TaskDependencies
Inheritance
TaskDependencies

Constructors

TaskDependencies(IEnumerable<String>, IEnumerable<TaskIdRange>)

Initializes a new instance of the TaskDependencies class.

Properties

TaskIdRanges

Gets the list of task IDs that this task depends on. All tasks in this list must complete successfully before the dependent task can be scheduled.

TaskIds

Gets the list of task ID ranges that this task depends on. All tasks in all ranges must complete successfully before the dependent task can be scheduled.

Methods

OnId(String)

Gets a TaskDependencies representing dependency on a single task.

OnIdRange(Int32, Int32)

Gets a TaskDependencies representing dependency on a range of task ids.

OnIds(IEnumerable<String>)

Gets a TaskDependencies representing dependency on a list of task ids.

OnIds(String[])

Gets a TaskDependencies representing dependency on a list of task ids.

OnTasks(CloudTask[])

Gets a TaskDependencies representing dependency on a list of tasks.

OnTasks(IEnumerable<CloudTask>)

Gets a TaskDependencies representing dependency on a list of tasks.

Applies to