共用方式為


TaskDependencies.OnTasks Method

Definition

Overloads

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.

OnTasks(CloudTask[])

Source:
TaskDependencies.cs

Gets a TaskDependencies representing dependency on a list of tasks.

public static Microsoft.Azure.Batch.TaskDependencies OnTasks (params Microsoft.Azure.Batch.CloudTask[] tasks);
static member OnTasks : Microsoft.Azure.Batch.CloudTask[] -> Microsoft.Azure.Batch.TaskDependencies
Public Shared Function OnTasks (ParamArray tasks As CloudTask()) As TaskDependencies

Parameters

tasks
CloudTask[]

The tasks to depend on.

Returns

A TaskDependencies representing dependency on the specified tasks.

Applies to

OnTasks(IEnumerable<CloudTask>)

Source:
TaskDependencies.cs

Gets a TaskDependencies representing dependency on a list of tasks.

public static Microsoft.Azure.Batch.TaskDependencies OnTasks (System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.CloudTask> tasks);
static member OnTasks : seq<Microsoft.Azure.Batch.CloudTask> -> Microsoft.Azure.Batch.TaskDependencies
Public Shared Function OnTasks (tasks As IEnumerable(Of CloudTask)) As TaskDependencies

Parameters

tasks
IEnumerable<CloudTask>

The tasks to depend on.

Returns

A TaskDependencies representing dependency on the specified tasks.

Applies to