Share via


INetworkOperations.ListAsync Method

The List Virtual network sites operation retrieves the virtual networks configured for the subscription. (see https://msdn.microsoft.com/en-us/library/windowsazure/jj157185.aspx for more information)

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

Usage

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

returnValue = instance.ListAsync(cancellationToken)

Syntax

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

Parameters

  • cancellationToken
    Cancellation token.

Return Value

The response structure for the Network Operations List operation.

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.Network Namespace