Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MsmqBindingElementBase.CustomDeadLetterQueue Property

Gets or sets a Uri that identifies a custom dead-letter queue where expired messages or messages that failed to be delivered are sent.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
public Uri CustomDeadLetterQueue { get; set; }

Property Value

Type: System.Uri
The URI of the custom dead-letter queue.

A dead-letter queue is a queue managed by the sending application's queue manager that stores messages that have failed to be delivered or have expired. The CustomDeadLetterQueue property allows you to specify a custom dead-letter queue rather than using the default system-wide dead-letter queue.

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.

The CustomDeadLetterQueue property can be set only on operating systems starting with Windows Vista.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.