Share via


ExitCodeRangeMapping(Int32, Int32, ExitOptions) Constructor

Definition

Initializes a new instance of ExitCodeRangeMapping.

public ExitCodeRangeMapping (int start, int end, Azure.Compute.Batch.ExitOptions exitOptions);
new Azure.Compute.Batch.ExitCodeRangeMapping : int * int * Azure.Compute.Batch.ExitOptions -> Azure.Compute.Batch.ExitCodeRangeMapping
Public Sub New (start As Integer, end As Integer, exitOptions As ExitOptions)

Parameters

start
Int32

The first exit code in the range.

end
Int32

The last exit code in the range.

exitOptions
ExitOptions

How the Batch service should respond if the Task exits with an exit code in the range start to end (inclusive).

Exceptions

exitOptions is null.

Applies to