TaskCounts Class

Definition

The task counts for a job.

public class TaskCounts
Inheritance
TaskCounts

Properties

Active

Gets the number of tasks in the active state.

Completed

Gets the number of tasks in the completed state.

Failed

Gets the number of tasks which failed. A task fails if its result (found in the executionInfo property) is 'failure'.

Running

Gets the number of tasks in the running or preparing state.

Succeeded

Gets the number of tasks which succeeded. A task succeeds if its result (found in the executionInfo property) is 'success'.

ValidationStatus

Gets whether the task counts have been validated. If the ValidationStatus is unvalidated, then the Batch service has not been able to check state counts against the task states as reported in the List Tasks API.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)