共用方式為


IGatewayOperations.ListVirtualNetworkGatewaysAsync(CancellationToken) Method

Definition

The List Virtual network gateways operation returns a list of the virtual network gateways.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.ListVirtualNetworkGatewaysResponse> ListVirtualNetworkGatewaysAsync (System.Threading.CancellationToken cancellationToken);
abstract member ListVirtualNetworkGatewaysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.ListVirtualNetworkGatewaysResponse>
Public Function ListVirtualNetworkGatewaysAsync (cancellationToken As CancellationToken) As Task(Of ListVirtualNetworkGatewaysResponse)

Parameters

cancellationToken
CancellationToken

Cancellation token.

Returns

The response to a ListVirtualNetworkGateways request.

Applies to