TaskCounts Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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'.