JobConstraints Constructors

Definition

Overloads

JobConstraints()

Default constructor to support mocking the JobConstraints class.

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

Initializes a new instance of the JobConstraints class.

JobConstraints()

Source:
JobConstraints.cs

Default constructor to support mocking the JobConstraints class.

protected JobConstraints ();
Protected 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.JobConstraints : Nullable<TimeSpan> * Nullable<int> -> Microsoft.Azure.Batch.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.

Applies to