JobConstraints Class

Definition

The execution constraints for a job.

public class JobConstraints
type JobConstraints = class
Public Class JobConstraints
Inheritance
System.Object
JobConstraints

Constructors

JobConstraints()

Initializes a new instance of the JobConstraints class.

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

Initializes a new instance of the JobConstraints class.

Properties

MaxTaskRetryCount

Gets or sets the maximum number of times each task may be retried. The Batch service retries a task if its exit code is nonzero.

MaxWallClockTime

Gets or sets the maximum elapsed time that the job may run, measured from the time the job is created.

Applies to