你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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