Udostępnij za pośrednictwem


JobConstraints Class

Definition

Specifies the execution constraints for a job.

public class JobConstraints
type JobConstraints = class
Public Class JobConstraints
Inheritance
JobConstraints

Constructors

JobConstraints()

Default constructor to support mocking 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.

MaxWallClockTime

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

Applies to