MsmqMessage<T> Class
The MsmqMessage<T> class encapsulates aMessage Queuing (MSMQ) message that is sent and received, over a Message Queuing integration channel, to and from an existing Message Queuing application.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Name | Description | |
|---|---|---|
![]() | MsmqMessage<T>(T) | Initializes a new instance of the MsmqMessage<T> class with the provided message body. |
| Name | Description | |
|---|---|---|
![]() | AcknowledgeType | Gets or sets the AcknowledgeTypes that is associated with this message. |
![]() | Acknowledgment | Gets the Acknowledgment that is associated with this message. |
![]() | AdministrationQueue | Gets or sets the Uri of the administration queue that is associated with this message. |
![]() | AppSpecific | Gets or sets an Int32 value that represents any additional application-specific information that is associated with this message. |
![]() | ArrivedTime | Gets or sets a DateTime that indicates when the message arrived in the destination queue. |
![]() | Authenticated | Gets a Boolean value that indicates whether the message is authenticated. |
![]() | Body | Gets or sets the body of the message. |
![]() | BodyType | Gets or sets an Int32 value that indicates the type of the body of the message. |
![]() | CorrelationId | Gets or sets a String that contains the correlation identifier for this message. |
![]() | DestinationQueue | Gets the Uri of the destination queue for this message. |
![]() | Extension | Gets or sets an array of Byte that contains any additional, application-defined information that is associated with this message. |
![]() | Id | Gets a String that contains the message identifier for this message. |
![]() | Label | Gets or sets a String that contains the message label. |
![]() | MessageType | Gets the MessageType that is associated with this message. |
![]() | Priority | Gets or sets the MessagePriority that is associated with this message. |
![]() | ResponseQueue | Gets or sets the Uri of the message queue that receives response messages from the receiving application. |
![]() | SenderId | Gets an array of Byte that contains the sender identifier of the sending application. |
![]() | SentTime | Gets a DateTime that indicates when the message was sent by the queue manager of the sending application's computer. |
![]() | TimeToReachQueue | Gets or sets a TimeSpan that indicates the maximum amount of time allowed for the message to reach the destination queue. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Exception | Condition |
|---|---|
| ArgumentNullException | Message body is null. |
Use the MsmqMessage<T> class to access the properties of the Message Queuing message.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

