共用方式為


ExitCodeMapping(Int32, ExitOptions) Constructor

Definition

Initializes a new instance of the ExitCodeMapping class.

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

Parameters

code
Int32

The process exit code.

exitOptions
ExitOptions

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

Applies to