共用方式為


CloudTask.PreviousState Property

Definition

Gets or sets the previous state of the Task.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

This property is not set if the Task is in its initial Active state. Possible values include: 'active', 'preparing', 'running', 'completed'

Applies to