共用方式為


IGatewayOperations.GetAsync(String, CancellationToken) Method

Definition

The Get Virtual Network Gateway operation gets information about the network gateway for the specified virtual network in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154109.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetResponse> GetAsync (string networkName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayGetResponse>
Public Function GetAsync (networkName As String, cancellationToken As CancellationToken) As Task(Of GatewayGetResponse)

Parameters

networkName
String

The name of the virtual network for this gateway.

cancellationToken
CancellationToken

Cancellation token.

Returns

A standard service response including an HTTP status code and request ID.

Applies to