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 https://msdn.microsoft.com/en-us/library/windowsazure/jj154118.aspx for more information)
Namespace: Microsoft.WindowsAzure.Management.Network
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Syntax
Task<GatewayOperationResponse> BeginFailoverAsync(
string networkName,
CancellationToken cancellationToken
)
Task<GatewayOperationResponse^>^ BeginFailoverAsync(
String^ networkName,
CancellationToken cancellationToken
)
abstract BeginFailoverAsync :
networkName:string *
cancellationToken:CancellationToken -> Task<GatewayOperationResponse>
Function BeginFailoverAsync (
networkName As String,
cancellationToken As CancellationToken
) As Task(Of GatewayOperationResponse)
Parameters
networkName
Type: System.StringThe name of the virtual network in Azure.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<GatewayOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
IGatewayOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace
Return to top