Gets or sets a value indicating whether a copy of the message that could not be delivered should be sent to a dead-letter queue.
[Visual Basic] Public Property UseDeadLetterQueue As Boolean [C#] public bool UseDeadLetterQueue {get; set;} [C++] public: __property bool get_UseDeadLetterQueue(); public: __property void set_UseDeadLetterQueue(bool); [JScript] public function get UseDeadLetterQueue() : Boolean; public function set UseDeadLetterQueue(Boolean);
true if message delivery failure should result in a copy of the message being sent to a dead-letter queue; otherwise, false. The default is false.
UseDeadLetterQueue provides access to a part of the functionality of the Journal property of the Message Queuing application's MSMQMessage object. The rest of the functionality is provided by UseJournalQueue.
In case of delivery failure for non-transactional messages, the message is sent to the non-transactional dead-letter queue on the computer that could not deliver the message (for example, if a message timer expires).
In the case of delivery failure for transactional messages, the message is sent to the transactional dead-letter queue on the source machine in all negative and in-doubt cases.
When you store messages in a dead-letter queue, clear the queue periodically to remove messages that are no longer needed. Messages stored in dead-letter queues count against the quota for the computer where the queue resides (the computer quota is set by the administrator).
DefaultPropertiesToSend Class | DefaultPropertiesToSend Members | System.Messaging Namespace | TBD