Udostępnij za pośrednictwem


IGatewayOperations.BeginFailoverAsync(String, CancellationToken) Method

Definition

The Begin Failover Virtual Network Gateway operation causes a network gateway failover for the specified virtual network in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154118.aspx for more information)

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

Parameters

networkName
String

The name of the virtual network in Azure.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to