JobConstraints Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The maximum elapsed time that the Job may run, measured from the time the Job is created.
The maximum number of times each Task may be retried. The Batch service retries a Task if its exit code is nonzero.
Applies to
Azure SDK for .NET