Sdílet prostřednictvím


CloudQueue.DeleteMessage Method

Definition

Overloads

DeleteMessage(CloudQueueMessage, QueueRequestOptions, OperationContext)

Deletes a message.

DeleteMessage(String, String, QueueRequestOptions, OperationContext)

Deletes the specified message from the queue.

DeleteMessage(CloudQueueMessage, QueueRequestOptions, OperationContext)

Deletes a message.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void DeleteMessage (Microsoft.Azure.Storage.Queue.CloudQueueMessage message, Microsoft.Azure.Storage.Queue.QueueRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.DeleteMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub DeleteMessage (message As CloudQueueMessage, Optional options As QueueRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)

Parameters

options
QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext

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

Attributes

Applies to

DeleteMessage(String, String, QueueRequestOptions, OperationContext)

Deletes the specified message from the queue.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void DeleteMessage (string messageId, string popReceipt, Microsoft.Azure.Storage.Queue.QueueRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteMessage : string * string * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.DeleteMessage : string * string * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub DeleteMessage (messageId As String, popReceipt As String, Optional options As QueueRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)

Parameters

messageId
String

A string specifying the message ID.

popReceipt
String

A string specifying the pop receipt value.

options
QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext

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

Attributes

Applies to