This documentation is archived and is not being maintained.

MsmqBindingBase.CustomDeadLetterQueue Property

Gets or sets a URI that contains the location of the dead-letter queue for each application, where messages that have expired or that have failed transfer or delivery are placed.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public Uri CustomDeadLetterQueue { get; set; }

Property Value

Type: System.Uri
The Uri that contains the location of the dead-letter queue for each application. The default value is null.

The dead-letter queue is a queue on the queue manager of the sending application for expired messages that failed to be delivered.

The URI that is specified by CustomDeadLetterQueue must use the net.msmq scheme.

If DeadLetterQueue is set to None or System, then CustomDeadLetterQueue must be set to null. If CustomDeadLetterQueue is not null, then DeadLetterQueue must be set to Custom.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0