CloudTask.PreviousState Property

Definition

Gets the previous state of the task.

public Microsoft.Azure.Batch.Common.TaskState? PreviousState { get; }
member this.PreviousState : Nullable<Microsoft.Azure.Batch.Common.TaskState>
Public ReadOnly Property PreviousState As Nullable(Of TaskState)

Property Value

Remarks

If the task is in its initial Active state, the PreviousState property is not defined.

Applies to