共用方式為


IGatewayOperations.DeleteLocalNetworkGatewayAsync Method

Definition

The Delete Local Network Gateway operation deletes a local network gateway

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteLocalNetworkGatewayAsync (string gatewayId, System.Threading.CancellationToken cancellationToken);
abstract member DeleteLocalNetworkGatewayAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteLocalNetworkGatewayAsync (gatewayId As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

gatewayId
String

The local network gateway id.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to