Partager via


ExitCodeMapping(Int32, ExitOptions) Constructor

Definition

Initializes a new instance of ExitCodeMapping.

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

Parameters

code
Int32

A process exit code.

exitOptions
ExitOptions

How the Batch service should respond if the Task exits with this exit code.

Exceptions

exitOptions is null.

Applies to