Share via


TaskCounts Class

Definition

The Task counts for a Job.

public class TaskCounts
type TaskCounts = class
Public Class TaskCounts
Inheritance
TaskCounts

Constructors

TaskCounts()

Initializes a new instance of the TaskCounts class.

TaskCounts(Int32, Int32, Int32, Int32, Int32)

Initializes a new instance of the TaskCounts class.

Properties

Active

Gets or sets the number of Tasks in the active state.

Completed

Gets or sets the number of Tasks in the completed state.

Failed

Gets or sets the number of Tasks which failed. A Task fails if its result (found in the executionInfo property) is 'failure'.

Running

Gets or sets the number of Tasks in the running or preparing state.

Succeeded

Gets or sets the number of Tasks which succeeded. A Task succeeds if its result (found in the executionInfo property) is 'success'.

Applies to