共用方式為


PoolOperationsExtensions.BeginDeleteAsync 方法

定義

刪除指定的集區。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.PoolDeleteHeaders> BeginDeleteAsync (this Microsoft.Azure.Management.Batch.IPoolOperations operations, string resourceGroupName, string accountName, string poolName, System.Threading.CancellationToken cancellationToken = default);
static member BeginDeleteAsync : Microsoft.Azure.Management.Batch.IPoolOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.PoolDeleteHeaders>
<Extension()>
Public Function BeginDeleteAsync (operations As IPoolOperations, resourceGroupName As String, accountName As String, poolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PoolDeleteHeaders)

參數

operations
IPoolOperations

這個擴充方法的作業群組。

resourceGroupName
String

包含 Batch 帳戶的資源群組名稱。

accountName
String

Batch 帳戶的名稱。

poolName
String

集區名稱。 這在帳戶內必須是唯一的。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於