Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

CloudQueue.DeleteMessageAsync Method (String, String, CancellationToken) (Microsoft.WindowsAzure.Storage.Queue)

Initiates an asynchronous operation to delete a message.

Namespace:   Microsoft.WindowsAzure.Storage.Queue
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

 
[DoesServiceRequestAttribute]
public virtual Task DeleteMessageAsync(
	string messageId,
	string popReceipt,
	CancellationToken cancellationToken
)
 
public:
[DoesServiceRequestAttribute]
virtual Task^ DeleteMessageAsync(
	String^ messageId,
	String^ popReceipt,
	CancellationToken cancellationToken
)
 
[<DoesServiceRequestAttribute>]
abstract DeleteMessageAsync : 
        messageId:string *
        popReceipt:string *
        cancellationToken:CancellationToken -> Task
[<DoesServiceRequestAttribute>]
override DeleteMessageAsync : 
        messageId:string *
        popReceipt:string *
        cancellationToken:CancellationToken -> Task
 
<DoesServiceRequestAttribute>
Public Overridable Function DeleteMessageAsync (
	messageId As String,
	popReceipt As String,
	cancellationToken As CancellationToken
) As Task

Parameters

messageId
Type: System.StringSystem::String^System.StringSystem.String

A string specifying the message ID.

popReceipt
Type: System.StringSystem::String^System.StringSystem.String

A string specifying the pop receipt value.

cancellationToken
Type: System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken

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

Return to top