Share via


IApplicationGatewayOperations.BeginDeleteApplicationGatewayAsync Method

The Begin Delete Application Gateway operation deletes Application Gateway with the specified parameters. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj154114.aspx for more information)

Namespace: Microsoft.WindowsAzure.Management.Network
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Usage

'Usage
Dim instance As IApplicationGatewayOperations
Dim gatewayName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of GatewayOperationResponse)

returnValue = instance.BeginDeleteApplicationGatewayAsync(gatewayName, cancellationToken)

Syntax

'Declaration
Function BeginDeleteApplicationGatewayAsync ( _
    gatewayName As String, _
    cancellationToken As CancellationToken _
) As Task(Of GatewayOperationResponse)
Task<GatewayOperationResponse> BeginDeleteApplicationGatewayAsync (
    string gatewayName,
    CancellationToken cancellationToken
)
Task<GatewayOperationResponse^>^ BeginDeleteApplicationGatewayAsync (
    String^ gatewayName, 
    CancellationToken cancellationToken
)
Task<GatewayOperationResponse> BeginDeleteApplicationGatewayAsync (
    String gatewayName, 
    CancellationToken cancellationToken
)
function BeginDeleteApplicationGatewayAsync (
    gatewayName : String, 
    cancellationToken : CancellationToken
) : Task<GatewayOperationResponse>

Parameters

  • gatewayName
    The name of the gateway.
  • cancellationToken
    Cancellation token.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IApplicationGatewayOperations Interface
IApplicationGatewayOperations Members
Microsoft.WindowsAzure.Management.Network Namespace