Share via


ILocationOperations.ListAsync Method (CancellationToken)

 

Asynchronously lists all of the data center locations that are available for a subscription.

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

Syntax

Task<LocationsListResponse> ListAsync(
    CancellationToken cancellationToken
)
Task<LocationsListResponse^>^ ListAsync(
    CancellationToken cancellationToken
)
abstract ListAsync : 
        cancellationToken:CancellationToken -> Task<LocationsListResponse>
Function ListAsync (
    cancellationToken As CancellationToken
) As Task(Of LocationsListResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<LocationsListResponse>

A LocationsListResponse object that contains the list of available locations.

Remarks

For more information about retrieving available locations, see the following resources:

See Also

ILocationOperations Interface
Microsoft.WindowsAzure.Management Namespace

Return to top