Share via


ComputeBatchModelFactory.BatchTaskIdRange(Int32, Int32) Method

Definition

The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents Tasks '9', '10', '11' and '12'.

public static Azure.Compute.Batch.BatchTaskIdRange BatchTaskIdRange(int start = 0, int end = 0);
static member BatchTaskIdRange : int * int -> Azure.Compute.Batch.BatchTaskIdRange
Public Shared Function BatchTaskIdRange (Optional start As Integer = 0, Optional end As Integer = 0) As BatchTaskIdRange

Parameters

start
Int32

The first Task ID in the range.

end
Int32

The last Task ID in the range.

Returns

A new BatchTaskIdRange instance for mocking.

Applies to