Delen via


TaskConstraints.MaxWallClockTime Property

Definition

Gets or sets the maximum elapsed time that the Task may run, measured from the time the Task starts. If the Task does not complete within the time limit, the Batch service terminates it.

[Newtonsoft.Json.JsonProperty(PropertyName="maxWallClockTime")]
public TimeSpan? MaxWallClockTime { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxWallClockTime")>]
member this.MaxWallClockTime : Nullable<TimeSpan> with get, set
Public Property MaxWallClockTime As Nullable(Of TimeSpan)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If this is not specified, there is no time limit on how long the Task may run.

Applies to