ComputeBatchModelFactory.ExitCodeRangeMapping Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A range of exit codes and how the Batch service should respond to exit codes within that range.
public static Azure.Compute.Batch.ExitCodeRangeMapping ExitCodeRangeMapping(int start = 0, int end = 0, Azure.Compute.Batch.ExitOptions exitOptions = default);
static member ExitCodeRangeMapping : int * int * Azure.Compute.Batch.ExitOptions -> Azure.Compute.Batch.ExitCodeRangeMapping
Public Shared Function ExitCodeRangeMapping (Optional start As Integer = 0, Optional end As Integer = 0, Optional exitOptions As ExitOptions = Nothing) As ExitCodeRangeMapping
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).
Returns
A new ExitCodeRangeMapping instance for mocking.