SALES: 1-800-867-1380

MessageReceiver.AbandonAsync Method (Guid, IDictionary(Of String, Object))

Asynchronously discards the message and relinquishes the message lock ownership.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

'Declaration
Public Function AbandonAsync ( _
	lockToken As Guid, _
	propertiesToModify As IDictionary(Of String, Object) _
) As Task
'Usage
Dim instance As MessageReceiver
Dim lockToken As Guid
Dim propertiesToModify As IDictionary(Of String, Object)
Dim returnValue As Task

returnValue = instance.AbandonAsync(lockToken, _
	propertiesToModify)

Parameters

lockToken
Type: System.Guid
The lock token.
propertiesToModify
Type: System.Collections.Generic.IDictionary(Of String, Object)
The properties to modify.

Return Value

Type: System.Threading.Tasks.Task
The asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft