你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

JobConstraints Class

Definition

Specifies the execution constraints for a job.

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

Constructors

Name Description
JobConstraints()

Default constructor to support mocking the JobConstraints class.

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

Initializes a new instance of the JobConstraints class.

Properties

Name Description
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