TaskIdRange(Int32, Int32) Constructor

Definition

Initializes a new instance of the TaskIdRange class.

public TaskIdRange (int start, int end);
new Microsoft.Azure.Batch.TaskIdRange : int * int -> Microsoft.Azure.Batch.TaskIdRange
Public Sub New (start As Integer, end As Integer)

Parameters

start
Int32

The first task id in the range.

end
Int32

The last task id in the range.

Exceptions

start or end is negative.

end is less than start.

Remarks

Ranges are inclusive. For example, if a task depends on a range with Start 8 and End 10, then tasks "8", "9" and "10" must complete before the task can be scheduled.

Applies to