Share via


IWebSpaceOperations.ListGeoRegionsAsync Method

Asynchronously retrieves the available geo-regions for the web space.

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

Usage

'Usage
Dim instance As IWebSpaceOperations
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of WebSpacesListGeoRegionsResponse)

returnValue = instance.ListGeoRegionsAsync(cancellationToken)

Syntax

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

Parameters

  • cancellationToken
    The cancellation token.

Return Value

An WebSpacesListGeoRegionsResponse object that contains the available geo-regions.

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

IWebSpaceOperations Interface
IWebSpaceOperations Members
Microsoft.WindowsAzure.Management.WebSites Namespace