Condividi tramite


JobConstraints Class

Definition

The execution constraints for a Job.

public class JobConstraints
type JobConstraints = class
Public Class JobConstraints
Inheritance
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