SALES: 1-800-867-1380
Collapse the table of content
Expand the table of content
Expand Minimize

MessageSession.OnDeadLetter Method (TrackingContext, IEnumerable<Guid>, IDictionary<String, Object>, String, String, TimeSpan)

 

Executes upon calling the DeadLetter operation.

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

protected override void OnDeadLetter(
	TrackingContext trackingContext,
	IEnumerable<Guid> lockTokens,
	IDictionary<stringobject> 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<StringObject>

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft