The properties of the Message class are listed below. For a complete list of Message class members, see the Message Members topic.
AcknowledgeType | Gets or sets the type of acknowledgment message that Message Queuing posts when a message arrives in the queue. |
Acknowledgment | Gets the classification of acknowledgment messages that Message Queuing posts. |
AdministrationQueue | Gets or sets the queue used for acknowledgment messages generated by the application. |
AppSpecific | Gets or sets application-generated information regarding the message. |
ArrivedTime | Indicates when the message arrived at the queue. |
AttachSenderId | Gets or sets a value indicating whether the sender ID is to be attached to the message. |
Authenticated | Gets a value indicating whether the message was authenticated. |
AuthenticationProviderName | Gets or sets the name of the cryptographic provider used to generate the digital signature of the message. |
AuthenticationProviderType | Gets or sets the type of cryptographic provider used to generate the digital signature of the message. |
Body | Gets or sets the serialized contents of the message. |
BodyStream | Gets or sets the information in the body of the message. |
BodyType | Gets or sets the type of data the message body contains. |
ConnectorType | Is required whenever an application sets a message property that is typically set by MSMQ. It is typically used in the following two cases. Whenever a message is passed by a connector application, the connector type is required so that the sending and receiving applications know how to interpret the security and acknowledgment properties of the messages. When sending application-encrypted messages, this property tells the MSMQ run time to use the symmetric key. |
CorrelationId | Gets or sets the message identifier used by acknowledgment and report messages to reference the original message. |
DestinationQueue | Identifies the original destination queue for a message. It is typically used to determine the original destination of a message that is in a journal or dead-letter queue, however it can also be used when sending a response message back to a response queue. |
DestinationSymmetricKey | Gets or sets the symmetric key used to encrypt messages. |
DigitalSignature | Gets or sets the digital signature used to authenticate the message. |
EncryptionAlgorithm | Gets or sets the encryption algorithm used to encrypt the body of a private message. |
Extension | Gets or sets additional information associated with the message. |
Formatter | Gets or sets the formatter used to read or write an object into the message body. |
HashAlgorithm | Gets or sets the hashing algorithm used when authenticating messages. |
Id | Gets the Message Queuing-generated identifier of the message. |
IsFirstInTransaction | Gets a value indicating whether the message was the first message sent in the transaction. |
IsLastInTransaction | Gets a value indicating whether the message was the last message sent in the transaction. |
Label | Gets or sets the message label. |
MessageType | Gets the type of the message (normal, acknowledgment, or report). |
Priority | Gets or sets the message priority, used to determine where the message is placed in the queue. |
Recoverable | Gets or sets a value indicating whether the message is guaranteed to be delivered in the event of a computer failure or network problem. |
ResponseQueue | Gets or sets the queue which receives application-generated response messages. |
SenderCertificate | Specifies the security certificate used to authenticate messages. |
SenderId | This property is set by MSMQ, and is used primarily by the receiving Queue Manager when authenticating a message. The receiving Queue Manager uses the sender identifier in this property to verify where the message originated and to verify the sender has access rights to a queue. |
SenderVersion | Gets the version of Message Queuing used to send the message. |
SentTime | Indicates the date and time that the message was sent by the source Queue Manager. |
Site (inherited from Component) | Gets or sets the site of the Component. |
SourceMachine | Specifies the computer where the message originated. |
TimeToBeReceived | Gets or sets the time limit for the message to be retrieved from the target queue. |
TimeToReachQueue | Gets or sets the time limit for the message to reach the queue. |
TransactionId | Gets the identifier for the transaction of which the message was a part. |
TransactionStatusQueue | Gets the transaction status queue on the source computer. |
UseAuthentication | Gets or sets a value indicating whether a message must be authenticated. |
UseDeadLetterQueue | Gets or sets a value indicating whether a copy of an undeliverable message should be sent to a dead-letter queue. |
UseEncryption | Gets or sets a value indicating whether to encrypt private messages. |
UseJournalQueue | Gets or sets a value indicating whether a copy of the message should be kept in a machine journal on the originating computer. |
UseTracing | Gets or sets a value indicating whether to trace a message as it moves toward its destination queue. |