SALES: 1-800-867-1380

BrokeredMessage.DeadLetterAsync Method (String, String)

Asynchronously moves the message to the dead letter queue.

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

'Declaration
Public Function DeadLetterAsync ( _
	deadLetterReason As String, _
	deadLetterErrorDescription As String _
) As Task
'Usage
Dim instance As BrokeredMessage 
Dim deadLetterReason As String 
Dim deadLetterErrorDescription As String 
Dim returnValue As Task 

returnValue = instance.DeadLetterAsync(deadLetterReason, _
	deadLetterErrorDescription)

Parameters

deadLetterReason
Type: System.String
The reason for deadlettering the message.
deadLetterErrorDescription
Type: System.String
The description information for deadlettering the message.

Return Value

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

Community Additions

ADD
Show:
© 2015 Microsoft