CloudBlobContainer.BeginDelete Method (BlobRequestOptions, AsyncCallback, Object)
Updated: April 24, 2013
Begins an asynchronous operation to delete a container, using a conditional request based on the BlobRequestOptions that you specify. Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
public IAsyncResult BeginDelete ( BlobRequestOptions options, AsyncCallback callback, Object state )
An object that specifies any additional options for the request.
The callback delegate that will receive notification when the asynchronous operation completes.
A user-defined object that will be passed to the callback delegate.
Return ValueType: System.IAsyncResultAn IAsyncResult that references the asynchronous operation.
When a container is deleted, a container with the same name cannot be created for at least 35 seconds; the container may not be available for more than 35 seconds if the service is still processing the request. While the container is being deleted, attempts to create a container of the same name will fail with the service returning additional error information indicating that the container is being deleted. All other operations, including operations on any blobs under the container, will fail until the container has been deleted.
Development PlatformsWindows Vista, Windows 7 and Windows Server 2008