IStorageAccountOperations.ListAsync Method (CancellationToken)
Asynchronously lists the storage accounts in a subscription.
Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
Syntax
Task<StorageAccountListResponse> ListAsync(
CancellationToken cancellationToken
)
Task<StorageAccountListResponse^>^ ListAsync(
CancellationToken cancellationToken
)
abstract ListAsync :
cancellationToken:CancellationToken -> Task<StorageAccountListResponse>
Function ListAsync (
cancellationToken As CancellationToken
) As Task(Of StorageAccountListResponse)
Parameters
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<StorageAccountListResponse>
The T:Microsoft.WindowsAzure.Management.Storage.Models.StorageServiceListResponse object that contains the list of storage accounts.
Remarks
For more information about listing storage accounts, see the following resources:
See Also
IStorageAccountOperations Interface
Microsoft.WindowsAzure.Management.Storage Namespace
Return to top