System.ServiceModel 4.0.0.0 System.Object

The class is obtained from the channel context and is used primarily for error processing. For example, if an application reads a message from the dead-letter queue, the application should examine properties like and . If an application is performing its own poison-message handling, it should examine properties like .

The class encapsulates the properties of a message that has been read from a queue.

- Property
  4.0.0.0
  System.Int32 To be added.

  This property is used in poison-message handling. For more information about poison-message handling, see Poison-Message Handling.

  Gets an value that indicates the number of times the message participated in the transaction that was aborted, that is, channel attempts - 1.

- Property
  4.0.0.0
  System.Nullable<System.ServiceModel.Channels.DeliveryFailure> To be added.

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

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

- Property
  4.0.0.0
  System.Nullable<System.ServiceModel.Channels.DeliveryStatus> To be added.

  A message may have a delivery status of or . A message has a delivery status of unless Message Queuing (MSMQ) can determine that it was not delivered, in which case its delivery status becomes .

  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 when reading a message from a dead-letter queue to determine why the message failed delivery.

  Gets a value from the enumeration that indicates the delivery status of the message.

- Method
  4.0.0.0
  System.ServiceModel.Channels.MsmqMessageProperty `` To be added.

  Gets the for the specified .

  The for the specified .

  The whose properties are to be retrieved.
- Property
  4.0.0.0
  System.Int32 To be added. To be added.

  Gets an value that indicates the number of times the message has moved from the main queue to the subqueue or the other way.

- Field
  4.0.0.0
  System.String

  A that contains the string "MsmqMessageProperty".

  Gets a that contains the string "MsmqMessageProperty".