Export (0) Print
Expand All
Expand Minimize

MessageReceiver.OnDeadLetter Method

Executes upon calling the DeadLetter operation.

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

protected virtual void OnDeadLetter(
	TrackingContext trackingContext,
	IEnumerable<Guid> lockTokens,
	IDictionary<string, Object> propertiesToModify,
	string deadLetterReason,
	string deadLetterErrorDescription,
	TimeSpan timeout
)

Parameters

trackingContext
Type: Microsoft.ServiceBus.Tracing.TrackingContext
The context information associated by a transaction tracking this operation.
lockTokens
Type: System.Collections.Generic.IEnumerable<Guid>
The collection of lock tokens bound to the locked message instances.
propertiesToModify
Type: System.Collections.Generic.IDictionary<String, Object>
The properties to modify.
deadLetterReason
Type: System.String
The reason for deadlettering the message.
deadLetterErrorDescription
Type: System.String
The error description for deadlettering the message.
timeout
Type: System.TimeSpan
The time span the operation waits before it times out.

Community Additions

ADD
Show:
© 2014 Microsoft