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

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