共用方式為


JobTerminateParameter Constructors

Definition

Overloads

JobTerminateParameter()

Initializes a new instance of the JobTerminateParameter class.

JobTerminateParameter(String)

Initializes a new instance of the JobTerminateParameter class.

JobTerminateParameter()

Source:
JobTerminateParameter.cs

Initializes a new instance of the JobTerminateParameter class.

public JobTerminateParameter ();
Public Sub New ()

Applies to

JobTerminateParameter(String)

Source:
JobTerminateParameter.cs

Initializes a new instance of the JobTerminateParameter class.

public JobTerminateParameter (string terminateReason = default);
new Microsoft.Azure.Batch.Protocol.Models.JobTerminateParameter : string -> Microsoft.Azure.Batch.Protocol.Models.JobTerminateParameter
Public Sub New (Optional terminateReason As String = Nothing)

Parameters

terminateReason
String

The text you want to appear as the Job's TerminateReason. The default is 'UserTerminate'.

Applies to