다음을 통해 공유


JobConstraints Constructors

Definition

Overloads

JobConstraints()

Initializes a new instance of the JobConstraints class.

JobConstraints(Nullable<TimeSpan>, Nullable<Int32>)

Initializes a new instance of the JobConstraints class.

JobConstraints()

Source:
JobConstraints.cs

Initializes a new instance of the JobConstraints class.

public JobConstraints ();
Public Sub New ()

Applies to

JobConstraints(Nullable<TimeSpan>, Nullable<Int32>)

Source:
JobConstraints.cs

Initializes a new instance of the JobConstraints class.

public JobConstraints (TimeSpan? maxWallClockTime = default, int? maxTaskRetryCount = default);
new Microsoft.Azure.Batch.Protocol.Models.JobConstraints : Nullable<TimeSpan> * Nullable<int> -> Microsoft.Azure.Batch.Protocol.Models.JobConstraints
Public Sub New (Optional maxWallClockTime As Nullable(Of TimeSpan) = Nothing, Optional maxTaskRetryCount As Nullable(Of Integer) = Nothing)

Parameters

maxWallClockTime
Nullable<TimeSpan>

The maximum elapsed time that the Job may run, measured from the time the Job is created.

maxTaskRetryCount
Nullable<Int32>

The maximum number of times each Task may be retried. The Batch service retries a Task if its exit code is nonzero.

Applies to