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

JobConstraints 构造函数

定义

重载

JobConstraints()

支持模拟 JobConstraints 类的默认构造函数。

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

初始化 JobConstraints 类的新实例。

JobConstraints()

Source:
JobConstraints.cs

支持模拟 JobConstraints 类的默认构造函数。

protected JobConstraints ();
Protected Sub New ()

适用于

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

Source:
JobConstraints.cs

初始化 JobConstraints 类的新实例。

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)

参数

maxWallClockTime
Nullable<TimeSpan>

作业可以运行的最大运行时间,从创建作业的时间开始计算。

maxTaskRetryCount
Nullable<Int32>

每个任务可以重试的最大次数。

适用于