Share via


IRouteOperations.BeginSetRouteAsync Method

Set the specified route for the provided table in this subscription.

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

Usage

'Usage
Dim instance As IRouteOperations
Dim routeTableName As String
Dim routeName As String
Dim parameters As SetRouteParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = instance.BeginSetRouteAsync(routeTableName, routeName, parameters, cancellationToken)

Syntax

'Declaration
Function BeginSetRouteAsync ( _
    routeTableName As String, _
    routeName As String, _
    parameters As SetRouteParameters, _
    cancellationToken As CancellationToken _
) As Task(Of AzureOperationResponse)
Task<AzureOperationResponse> BeginSetRouteAsync (
    string routeTableName,
    string routeName,
    SetRouteParameters parameters,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ BeginSetRouteAsync (
    String^ routeTableName, 
    String^ routeName, 
    SetRouteParameters^ parameters, 
    CancellationToken cancellationToken
)
Task<AzureOperationResponse> BeginSetRouteAsync (
    String routeTableName, 
    String routeName, 
    SetRouteParameters parameters, 
    CancellationToken cancellationToken
)
function BeginSetRouteAsync (
    routeTableName : String, 
    routeName : String, 
    parameters : SetRouteParameters, 
    cancellationToken : CancellationToken
) : Task<AzureOperationResponse>

Parameters

  • routeTableName
    The name of the route table where the provided route will be set.
  • routeName
    The name of the route that will be set on the provided route table.
  • parameters
    The parameters necessary to create a new route table.
  • 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

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