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() |
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
The maximum elapsed time that the job may run, measured from the time the job is created.
Applies to
Azure SDK for .NET