CloudQueue.DeleteMessageAsync CloudQueue.DeleteMessageAsync CloudQueue.DeleteMessageAsync Method

Definition

Overloads

DeleteMessageAsync(String, String, QueueRequestOptions, OperationContext) DeleteMessageAsync(String, String, QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to delete a message.

DeleteMessageAsync(String, String, QueueRequestOptions, OperationContext, CancellationToken) DeleteMessageAsync(String, String, QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to delete a message.

DeleteMessageAsync(String, String, CancellationToken) DeleteMessageAsync(String, String, CancellationToken)

Initiates an asynchronous operation to delete a message.

DeleteMessageAsync(CloudQueueMessage, QueueRequestOptions, OperationContext, CancellationToken) DeleteMessageAsync(CloudQueueMessage, QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to delete a message.

DeleteMessageAsync(String, String) DeleteMessageAsync(String, String) DeleteMessageAsync(String, String)

Initiates an asynchronous operation to delete a message.

DeleteMessageAsync(CloudQueueMessage) DeleteMessageAsync(CloudQueueMessage) DeleteMessageAsync(CloudQueueMessage)

Initiates an asynchronous operation to delete a message.

DeleteMessageAsync(CloudQueueMessage, QueueRequestOptions, OperationContext) DeleteMessageAsync(CloudQueueMessage, QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to delete a message.

DeleteMessageAsync(CloudQueueMessage, CancellationToken) DeleteMessageAsync(CloudQueueMessage, CancellationToken)

Initiates an asynchronous operation to delete a message.

DeleteMessageAsync(String, String, QueueRequestOptions, OperationContext) DeleteMessageAsync(String, String, QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to delete a message.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteMessageAsync (string messageId, string popReceipt, Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member DeleteMessageAsync : string * string * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.DeleteMessageAsync : string * string * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
Parameters
messageId
String String String

A string specifying the message ID.

popReceipt
String String String

A string specifying the pop receipt value.

options
QueueRequestOptions QueueRequestOptions QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

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

Returns

A Task object that represents the asynchronous operation.

DeleteMessageAsync(String, String, QueueRequestOptions, OperationContext, CancellationToken) DeleteMessageAsync(String, String, QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to delete a message.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteMessageAsync (string messageId, string popReceipt, Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member DeleteMessageAsync : string * string * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteMessageAsync : string * string * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
messageId
String String String

A string specifying the message ID.

popReceipt
String String String

A string specifying the pop receipt value.

options
QueueRequestOptions QueueRequestOptions QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

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

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

DeleteMessageAsync(String, String, CancellationToken) DeleteMessageAsync(String, String, CancellationToken)

Initiates an asynchronous operation to delete a message.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteMessageAsync (string messageId, string popReceipt, System.Threading.CancellationToken cancellationToken);
abstract member DeleteMessageAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteMessageAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
messageId
String String String

A string specifying the message ID.

popReceipt
String String String

A string specifying the pop receipt value.

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

DeleteMessageAsync(CloudQueueMessage, QueueRequestOptions, OperationContext, CancellationToken) DeleteMessageAsync(CloudQueueMessage, QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to delete a message.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteMessageAsync (Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage message, Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member DeleteMessageAsync : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteMessageAsync : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
options
QueueRequestOptions QueueRequestOptions QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

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

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

DeleteMessageAsync(String, String) DeleteMessageAsync(String, String) DeleteMessageAsync(String, String)

Initiates an asynchronous operation to delete a message.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteMessageAsync (string messageId, string popReceipt);
abstract member DeleteMessageAsync : string * string -> System.Threading.Tasks.Task
override this.DeleteMessageAsync : string * string -> System.Threading.Tasks.Task
Public Overridable Function DeleteMessageAsync (messageId As String, popReceipt As String) As Task
Parameters
messageId
String String String

A string specifying the message ID.

popReceipt
String String String

A string specifying the pop receipt value.

Returns

A Task object that represents the asynchronous operation.

DeleteMessageAsync(CloudQueueMessage) DeleteMessageAsync(CloudQueueMessage) DeleteMessageAsync(CloudQueueMessage)

Initiates an asynchronous operation to delete a message.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteMessageAsync (Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage message);
abstract member DeleteMessageAsync : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage -> System.Threading.Tasks.Task
override this.DeleteMessageAsync : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage -> System.Threading.Tasks.Task
Public Overridable Function DeleteMessageAsync (message As CloudQueueMessage) As Task
Parameters
Returns

A Task object that represents the asynchronous operation.

DeleteMessageAsync(CloudQueueMessage, QueueRequestOptions, OperationContext) DeleteMessageAsync(CloudQueueMessage, QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to delete a message.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteMessageAsync (Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage message, Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member DeleteMessageAsync : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.DeleteMessageAsync : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
Parameters
options
QueueRequestOptions QueueRequestOptions QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

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

Returns

A Task object that represents the asynchronous operation.

DeleteMessageAsync(CloudQueueMessage, CancellationToken) DeleteMessageAsync(CloudQueueMessage, CancellationToken)

Initiates an asynchronous operation to delete a message.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteMessageAsync (Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage message, System.Threading.CancellationToken cancellationToken);
abstract member DeleteMessageAsync : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteMessageAsync : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to