This documentation is archived and is not being maintained.

MsmqMessageProperty.DeliveryFailure Property

Gets a value from the DeliveryFailure enumeration that indicates why the message failed delivery.

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

public Nullable<DeliveryFailure> DeliveryFailure { get; }

Property Value

Type: System.Nullable<DeliveryFailure>
A value from the DeliveryFailure enumeration that indicates why the message failed delivery. May be null.

Use this property together with DeliveryStatus when reading a message from a dead-letter queue to determine why the message failed delivery.

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
Show: