SALES: 1-800-867-1380

SubscriptionClient.DeadLetter Method (Guid)

 

Moves the undelivered message to the dead letter queue.

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

public void DeadLetter(
	Guid lockToken
)

Parameters

lockToken
Type: System.Guid

The lock token bound to the locked message instance.

Exception Condition
TimeoutException

Thrown if the operation exceeded the timeout value set by T:Microsoft.ServiceBus.Messaging.MessagingFactorySettings.OperationTimeout.

OperationCanceledException

Thrown if the client entity has been closed or aborted.

MessageLockLostException

Thrown if the message represented by lockToken has lost the message lock.

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