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

CloudQueue.BeginDeleteMessage 方法

定义

重载

BeginDeleteMessage(CloudQueueMessage, AsyncCallback, Object)

开始异步操作以删除消息。

BeginDeleteMessage(String, String, AsyncCallback, Object)

开始异步操作以删除消息。

BeginDeleteMessage(CloudQueueMessage, QueueRequestOptions, OperationContext, AsyncCallback, Object)

开始异步操作以删除消息。

BeginDeleteMessage(String, String, QueueRequestOptions, OperationContext, AsyncCallback, Object)

开始异步操作以删除消息。

BeginDeleteMessage(CloudQueueMessage, AsyncCallback, Object)

开始异步操作以删除消息。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteMessage (Microsoft.Azure.Storage.Queue.CloudQueueMessage message, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginDeleteMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginDeleteMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginDeleteMessage (message As CloudQueueMessage, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

参数

callback
AsyncCallback

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

state
Object

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

返回

引用 ICancellableAsyncResult 异步操作的 。

属性

适用于

BeginDeleteMessage(String, String, AsyncCallback, Object)

开始异步操作以删除消息。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteMessage (string messageId, string popReceipt, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginDeleteMessage : string * string * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginDeleteMessage : string * string * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginDeleteMessage (messageId As String, popReceipt As String, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

参数

messageId
String

指定消息 ID 的字符串。

popReceipt
String

一个指定流行回执值的字符串。

callback
AsyncCallback

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

state
Object

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

返回

引用 ICancellableAsyncResult 异步操作的 。

属性

适用于

BeginDeleteMessage(CloudQueueMessage, QueueRequestOptions, OperationContext, AsyncCallback, Object)

开始异步操作以删除消息。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteMessage (Microsoft.Azure.Storage.Queue.CloudQueueMessage message, Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginDeleteMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginDeleteMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginDeleteMessage (message As CloudQueueMessage, options As QueueRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

参数

options
QueueRequestOptions

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

operationContext
OperationContext

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

callback
AsyncCallback

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

state
Object

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

返回

引用 ICancellableAsyncResult 异步操作的 。

属性

适用于

BeginDeleteMessage(String, String, QueueRequestOptions, OperationContext, AsyncCallback, Object)

开始异步操作以删除消息。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteMessage (string messageId, string popReceipt, Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginDeleteMessage : string * string * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginDeleteMessage : string * string * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginDeleteMessage (messageId As String, popReceipt As String, options As QueueRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

参数

messageId
String

指定消息 ID 的字符串。

popReceipt
String

一个指定流行回执值的字符串。

options
QueueRequestOptions

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

operationContext
OperationContext

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

callback
AsyncCallback

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

state
Object

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

返回

引用 ICancellableAsyncResult 异步操作的 。

属性

适用于