Gets a value from the DeliveryStatus enumeration that indicates the delivery status of the message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
A message may have a delivery status of InDoubt or NotDelivered. A message has a delivery status of InDoubt unless Message Queuing (MSMQ) can determine that it was not delivered, in which case its delivery status becomes NotDelivered.
An example of an in-doubt message is a message that has expired. Message Queuing cannot determine whether the message was delivered to the application after it expired.
Use this property together with DeliveryFailure when reading a message from a dead-letter queue to determine why the message failed delivery.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
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.