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'.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應