IStorageAccountOperations.DeleteAsync Method (String, CancellationToken)

 

Asynchronously deletes a storage account.

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

Task<AzureOperationResponse> DeleteAsync(
	string accountName,
	CancellationToken cancellationToken
)

Parameters

serviceName

The name of the storage account to delete.

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token.

Return Value

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

An OperationResponse object that includes an HTTP status code and request ID.

For more information about deleting a storage account, see the following resources:

Return to top
Show: