共用方式為


ApplicationOperationsExtensions.GetAsync 方法

定義

取得指定之應用程式的相關資訊。

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

參數

operations
IApplicationOperations

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

resourceGroupName
String

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

accountName
String

Batch 帳戶的名稱。

applicationName
String

應用程式的名稱。 這在帳戶內必須是唯一的。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於