你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ComputeBatchModelFactory.BatchTaskCountsResult Method

Definition

Initializes a new instance of BatchTaskCountsResult.

public static Azure.Compute.Batch.BatchTaskCountsResult BatchTaskCountsResult(Azure.Compute.Batch.BatchTaskCounts taskCounts = default, Azure.Compute.Batch.BatchTaskSlotCounts taskSlotCounts = default);
static member BatchTaskCountsResult : Azure.Compute.Batch.BatchTaskCounts * Azure.Compute.Batch.BatchTaskSlotCounts -> Azure.Compute.Batch.BatchTaskCountsResult
Public Shared Function BatchTaskCountsResult (Optional taskCounts As BatchTaskCounts = Nothing, Optional taskSlotCounts As BatchTaskSlotCounts = Nothing) As BatchTaskCountsResult

Parameters

taskCounts
BatchTaskCounts

The number of Tasks per state.

taskSlotCounts
BatchTaskSlotCounts

The number of TaskSlots required by Tasks per state.

Returns

A new BatchTaskCountsResult instance for mocking.

Applies to