IApplicationGatewayOperations.GetAsync 方法 (String, CancellationToken)

 

获取应用程序网关操作可检索为给定的订阅设置的应用程序网关。 (请参阅 https://msdn.microsoft.com/en-us/library/windowsazure/jj157196.aspx 有关详细信息)

命名空间:   Microsoft.WindowsAzure.Management.Network
程序集:  Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)

语法

Task<ApplicationGatewayGetResponse> GetAsync(
    string gatewayName,
    CancellationToken cancellationToken
)
Task<ApplicationGatewayGetResponse^>^ GetAsync(
    String^ gatewayName,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        gatewayName:string *
        cancellationToken:CancellationToken -> Task<ApplicationGatewayGetResponse>
Function GetAsync (
    gatewayName As String,
    cancellationToken As CancellationToken
) As Task(Of ApplicationGatewayGetResponse)

参数

返回值

Type: System.Threading.Tasks.Task<ApplicationGatewayGetResponse>

响应正文包含应用程序网关的详细的信息。

请参阅

IApplicationGatewayOperations 接口
Microsoft.WindowsAzure.Management.Network 命名空间

返回页首