This documentation is archived and is not being maintained.
MsmqMessage<T> Class
Visual Studio 2010
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)
The MsmqMessage<T> type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | MsmqMessage<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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Exception | Condition |
|---|---|
| ArgumentNullException | Message body is null. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
