IGatewayOperations.BeginFailoverAsync Method (String, CancellationToken)
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)
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Function BeginFailoverAsync ( networkName As String, cancellationToken As CancellationToken ) As Task(Of GatewayOperationResponse)
Parameters
- networkName
-
Type:
System.String
The name of the virtual network in Azure.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of GatewayOperationResponse)A standard service response including an HTTP status code and request ID.
Show: