Partager via


IStorageBlobManagement.DeleteContainerAsync Method

Definition

Overloads

DeleteContainerAsync(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously delete the specified container.

DeleteContainerAsync(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

DeleteContainerAsync(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously delete the specified container.

public System.Threading.Tasks.Task DeleteContainerAsync (Microsoft.Azure.Storage.Blob.CloudBlobContainer container, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member DeleteContainerAsync : Microsoft.Azure.Storage.Blob.CloudBlobContainer * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteContainerAsync (container As CloudBlobContainer, accessCondition As AccessCondition, requestOptions As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task

Parameters

container
CloudBlobContainer

CloudBlobContainer object

accessCondition
AccessCondition

Access condition

requestOptions
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

cmdletCancellationToken
CancellationToken

Cancellation token

Returns

Return a task that asynchronously delete the specified container.

Applies to

DeleteContainerAsync(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task DeleteContainerAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member DeleteContainerAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteContainerAsync (container As CloudBlobContainer, accessCondition As AccessCondition, requestOptions As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task

Parameters

container
CloudBlobContainer
accessCondition
AccessCondition
requestOptions
BlobRequestOptions
operationContext
OperationContext
cmdletCancellationToken
CancellationToken

Returns

Applies to