INetworkOperations.GetConfigurationAsync Method

Asynchronously retrieves the network configuration file for a subscription.

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

Usage

'Usage
Dim instance As INetworkOperations
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of NetworkGetConfigurationResponse)

returnValue = instance.GetConfigurationAsync(cancellationToken)

Syntax

'Declaration
Function GetConfigurationAsync ( _
    cancellationToken As CancellationToken _
) As Task(Of NetworkGetConfigurationResponse)
Task<NetworkGetConfigurationResponse> GetConfigurationAsync (
    CancellationToken cancellationToken
)
Task<NetworkGetConfigurationResponse^>^ GetConfigurationAsync (
    CancellationToken cancellationToken
)
Task<NetworkGetConfigurationResponse> GetConfigurationAsync (
    CancellationToken cancellationToken
)
function GetConfigurationAsync (
    cancellationToken : CancellationToken
) : Task<NetworkGetConfigurationResponse>

Parameters

  • cancellationToken
    The cancellation token.

Return Value

An NetworkGetConfigurationResponse object that contains the configuration of the Virtual Network.

Remarks

For more information about retrieving the configuration, see the following resources:

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

INetworkOperations Interface
INetworkOperations Members
Microsoft.WindowsAzure.Management.VirtualNetworks Namespace