CloudBlob.BeginDeleteIfExists CloudBlob.BeginDeleteIfExists CloudBlob.BeginDeleteIfExists Method

Definition

Overloads

BeginDeleteIfExists(AsyncCallback, Object) BeginDeleteIfExists(AsyncCallback, Object) BeginDeleteIfExists(AsyncCallback, Object)

Begins an asynchronous request to delete the blob if it already exists.

BeginDeleteIfExists(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) BeginDeleteIfExists(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous request to delete the blob if it already exists.

BeginDeleteIfExists(AsyncCallback, Object) BeginDeleteIfExists(AsyncCallback, Object) BeginDeleteIfExists(AsyncCallback, Object)

Begins an asynchronous request to delete the blob if it already exists.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginDeleteIfExists (AsyncCallback callback, object state);
abstract member BeginDeleteIfExists : AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginDeleteIfExists : AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
Public Overridable Function BeginDeleteIfExists (callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameters
callback
AsyncCallback AsyncCallback AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Object Object Object

A user-defined object that will be passed to the callback delegate.

Returns

BeginDeleteIfExists(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object) BeginDeleteIfExists(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous request to delete the blob if it already exists.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginDeleteIfExists (Microsoft.WindowsAzure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
abstract member BeginDeleteIfExists : Microsoft.WindowsAzure.Storage.Blob.DeleteSnapshotsOption * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginDeleteIfExists : Microsoft.WindowsAzure.Storage.Blob.DeleteSnapshotsOption * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
Parameters
deleteSnapshotsOption
DeleteSnapshotsOption DeleteSnapshotsOption DeleteSnapshotsOption

A DeleteSnapshotsOption object indicating whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots.

accessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

callback
AsyncCallback AsyncCallback AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Object Object Object

A user-defined object that will be passed to the callback delegate.

Returns

Applies to