共用方式為


TaskCounts Constructors

Definition

Overloads

TaskCounts()

Initializes a new instance of the TaskCounts class.

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

Initializes a new instance of the TaskCounts class.

TaskCounts()

Source:
TaskCounts.cs

Initializes a new instance of the TaskCounts class.

public TaskCounts ();
Public Sub New ()

Applies to

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

Source:
TaskCounts.cs

Initializes a new instance of the TaskCounts class.

public TaskCounts (int active, int running, int completed, int succeeded, int failed);
new Microsoft.Azure.Batch.Protocol.Models.TaskCounts : int * int * int * int * int -> Microsoft.Azure.Batch.Protocol.Models.TaskCounts
Public Sub New (active As Integer, running As Integer, completed As Integer, succeeded As Integer, failed As Integer)

Parameters

active
Int32

The number of Tasks in the active state.

running
Int32

The number of Tasks in the running or preparing state.

completed
Int32

The number of Tasks in the completed state.

succeeded
Int32

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

failed
Int32

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

Applies to