This documentation is archived and is not being maintained.

MessagePropertyFilter.UseDeadLetterQueue Property

Gets or sets a value indicating whether to retrieve Message.UseDeadLetterQueue property information when receiving or peeking a message.

[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);

Property Value

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

Remarks

The UseDeadLetterQueue property of the Message class specifies whether a copy of a message that could not be delivered should be sent to a dead-letter queue.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

MessagePropertyFilter Class | MessagePropertyFilter Members | System.Messaging Namespace | Message.UseDeadLetterQueue | MessageQueue

Show: