次の方法で共有


ComputeBatchModelFactory.ExitCodeRangeMapping Method

Definition

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.

Applies to