NetworkOperationsExtensions.ListAsync Method

Asynchronously lists the Virtual Networks in a subscription.

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

Usage

'Usage
Dim operations As INetworkOperations
Dim returnValue As Task(Of NetworkListResponse)

returnValue = NetworkOperationsExtensions.ListAsync(operations)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
    operations As INetworkOperations _
) As Task(Of NetworkListResponse)
[ExtensionAttribute] 
public static Task<NetworkListResponse> ListAsync (
    INetworkOperations operations
)
[ExtensionAttribute] 
public:
static Task<NetworkListResponse^>^ ListAsync (
    INetworkOperations^ operations
)
/** @attribute ExtensionAttribute() */ 
public static Task<NetworkListResponse> ListAsync (
    INetworkOperations operations
)
ExtensionAttribute 
public static function ListAsync (
    operations : INetworkOperations
) : Task<NetworkListResponse>

Parameters

Return Value

An NetworkListResponse object that lists the Virtual Networks.

Remarks

For more information about retrieving a list of networks, 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

NetworkOperationsExtensions Class
NetworkOperationsExtensions Members
Microsoft.WindowsAzure.Management.VirtualNetworks Namespace