你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ICloudBlob.BeginDelete 方法

定义

重载

BeginDelete(AsyncCallback, Object)

开始异步操作以删除 Blob。

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

开始异步操作以删除 Blob。

BeginDelete(AsyncCallback, Object)

开始异步操作以删除 Blob。

public Microsoft.Azure.Storage.ICancellableAsyncResult BeginDelete (AsyncCallback callback, object state);
abstract member BeginDelete : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Function BeginDelete (callback As AsyncCallback, state As Object) As ICancellableAsyncResult

参数

callback
AsyncCallback

AsyncCallback 异步操作完成时接收通知的委托。

state
Object

将传递给回调委托的用户定义对象。

返回

引用 ICancellableAsyncResult 异步操作的 。

适用于

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

开始异步操作以删除 Blob。

public Microsoft.Azure.Storage.ICancellableAsyncResult BeginDelete (Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
abstract member BeginDelete : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Function BeginDelete (deleteSnapshotsOption As DeleteSnapshotsOption, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

参数

deleteSnapshotsOption
DeleteSnapshotsOption

一个 DeleteSnapshotsOption 对象,指示是仅删除 Blob、删除 Blob 和所有快照还是仅删除快照。

accessCondition
AccessCondition

一个 AccessCondition 对象,表示继续处理请求而必须满足的条件。

options
BlobRequestOptions

一个 BlobRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

callback
AsyncCallback

AsyncCallback 异步操作完成时接收通知的委托。

state
Object

将传递给回调委托的用户定义对象。

返回

引用 ICancellableAsyncResult 异步操作的 。

适用于