CloudQueue.DeleteMessage CloudQueue.DeleteMessage Method

Definition

Overloads

DeleteMessage(CloudQueueMessage, QueueRequestOptions, OperationContext) DeleteMessage(CloudQueueMessage, QueueRequestOptions, OperationContext)

Deletes a message.

DeleteMessage(String, String, QueueRequestOptions, OperationContext) DeleteMessage(String, String, QueueRequestOptions, OperationContext)

Deletes the specified message from the queue.

DeleteMessage(CloudQueueMessage, QueueRequestOptions, OperationContext) DeleteMessage(CloudQueueMessage, QueueRequestOptions, OperationContext)

Deletes a message.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual void DeleteMessage (Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage message, Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null);
abstract member DeleteMessage : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> unit
override this.DeleteMessage : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> unit

Parameters

options
QueueRequestOptions QueueRequestOptions

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

operationContext
OperationContext OperationContext

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

DeleteMessage(String, String, QueueRequestOptions, OperationContext) DeleteMessage(String, String, QueueRequestOptions, OperationContext)

Deletes the specified message from the queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual void DeleteMessage (string messageId, string popReceipt, Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null);
abstract member DeleteMessage : string * string * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> unit
override this.DeleteMessage : string * string * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> unit

Parameters

messageId
String String

A string specifying the message ID.

popReceipt
String String

A string specifying the pop receipt value.

options
QueueRequestOptions QueueRequestOptions

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

operationContext
OperationContext OperationContext

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

Applies to