IWebSpaceOperations.ListAsync Method (CancellationToken)
Asynchronously retrieves a list of web spaces in the subscription.
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
Task<WebSpacesListResponse> ListAsync(
CancellationToken cancellationToken
)
Task<WebSpacesListResponse^>^ ListAsync(
CancellationToken cancellationToken
)
abstract ListAsync :
cancellationToken:CancellationToken -> Task<WebSpacesListResponse>
Function ListAsync (
cancellationToken As CancellationToken
) As Task(Of WebSpacesListResponse)
Parameters
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<WebSpacesListResponse>
An WebSpacesListResponse object that contains the list of web spaces.
Remarks
For more information about retrieving a list of web spaces, see List Webspaces. (see for more information)
See Also
IWebSpaceOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace
Return to top