Share via


CloudTask.State Property

Definition

Gets or sets the current state of the Task.

[Newtonsoft.Json.JsonProperty(PropertyName="state")]
public Microsoft.Azure.Batch.Protocol.Models.TaskState? State { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="state")>]
member this.State : Nullable<Microsoft.Azure.Batch.Protocol.Models.TaskState> with get, set
Public Property State As Nullable(Of TaskState)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

Possible values include: 'active', 'preparing', 'running', 'completed'

Applies to