System.Messaging Reference (Document! X Sample)



UseDeadLetterQueue Property (MessagePropertyFilter)
Gets or sets a value that indicates whether to retrieve UseDeadLetterQueue property information when receiving or peeking a message.
Syntax
'Declaration
 
<MessagingDescriptionAttribute("Specifies if a copy of the message should be sent to a dead-letter queue.")>
<DefaultValueAttribute()>
Public Property UseDeadLetterQueue As Boolean
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Boolean
 
instance.UseDeadLetterQueue = value
 
value = instance.UseDeadLetterQueue
[MessagingDescription("Specifies if a copy of the message should be sent to a dead-letter queue.")]
[DefaultValue()]
public bool UseDeadLetterQueue {get; set;}
[MessagingDescription("Specifies if a copy of the message should be sent to a dead-letter queue.")]
[DefaultValue()]
public:
property bool UseDeadLetterQueue {
   bool get();
   void set (    bool value);
}

Property Value

true to receive UseDeadLetterQueue information; otherwise, false. The default is true.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also