JobPreparationTaskExecutionInformation.State Property

Definition

Gets the current state of the task.

public Microsoft.Azure.Batch.Common.JobPreparationTaskState State { get; }
member this.State : Microsoft.Azure.Batch.Common.JobPreparationTaskState
Public ReadOnly Property State As JobPreparationTaskState

Property Value

Remarks

Running means the task is currently running. Completed means the task has completed. The Completed state includes the case where the task exits successfully with exit code 0 and the cases where the system fails to start the task process due to scheduling errors or the retry limit has reached after numerous task failures.

Applies to