System.Messaging Reference (Document! X Sample)
Message Class Members
Fields  Properties  Methods  Events


System.Messaging Namespace : Message Class

The following tables list the members exposed by Message.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)Specifies that no time-out exists.  
Top
Public Properties
 NameDescription
Public PropertyGets or sets the type of acknowledgment message to be returned to the sending application.  
Public PropertyGets the classification of acknowledgment that this message represents.  
Public PropertyGets or sets the queue that receives the acknowledgement messages that Message Queuing generates.  
Public PropertyGets or sets additional, application-specific information.  
Public PropertyGets the time that the message arrived in the destination queue.  
Public PropertyGets or sets a value that indicates whether the sender ID should be attached to the message.  
Public PropertyGets a value that indicates whether the message was authenticated.  
Public PropertyGets or sets the name of the cryptographic provider used to generate the digital signature of the message.  
Public PropertyGets or sets the type of cryptographic provider used to generate the digital signature of the message.  
Public PropertyGets or sets the content of the message.  
Public PropertyGets or sets the information in the body of the message.  
Public PropertyGets or sets the type of data that the message body contains.  
Public PropertyGets or sets a value that indicates that some message properties typically set by Message Queuing were set by the sending application.  
Public Property (Inherited from System.ComponentModel.Component)
Public PropertyGets or sets the message identifier used by acknowledgment, report, and response messages to reference the original message.  
Public PropertyGets the intended destination queue for a message.  
Public PropertyGets or sets the symmetric key used to encrypt application-encrypted messages or messages sent to foreign queues.  
Public PropertyGets or sets the digital signature that Message Queuing uses to authenticate the message.  
Public PropertyGets or sets the encryption algorithm used to encrypt the body of a private message.  
Public PropertyGets or sets additional, application-defined information associated with the message.  
Public PropertyGets or sets the formatter used to serialize an object into or deserialize an object from the message body.  
Public PropertyGets or sets the hashing algorithm that Message Queuing uses when authenticating a message or creating a digital signature for a message.  
Public PropertyGets the message's identifier.  
Public PropertyGets a value that indicates whether the message was the first message sent in a transaction.  
Public PropertyGets a value that indicates whether the message was the last message sent in a transaction.  
Public PropertyGets or sets an application-defined Unicode string that describes the message.  
Public PropertyIntroduced in MSMQ 3.0. Gets the message's lookup identifier.  
Public PropertyGets the message type: Normal, Acknowledgment, or Report.  
Public PropertyGets or sets the message priority, which determines where in the queue the message is placed.  
Public PropertyGets or sets a value that indicates whether the message is guaranteed to be delivered in the event of a computer failure or network problem.  
Public PropertyGets or sets the queue that receives application-generated response messages.  
Public PropertyGets or sets the security context for a message.  
Public PropertyGets or sets the security certificate used to authenticate messages.  
Public PropertyGets the identifier of the sending user.  
Public PropertyGets the version of Message Queuing used to send the message.  
Public PropertyGets the date and time on the sending computer that the message was sent by the source queue manager.  
Public Property (Inherited from System.ComponentModel.Component)
Public PropertyGets the computer from which the message originated.  
Public PropertyGets or sets the maximum amount of time for the message to be received from the destination queue.  
Public PropertyGets or sets the maximum amount of time for the message to reach the queue.  
Public PropertyGets the identifier for the transaction of which the message was a part.  
Public PropertyGets the transaction status queue on the source computer.  
Public PropertyGets or sets a value that indicates whether the message was (or must be) authenticated before being sent.  
Public PropertyGets or sets a value that indicates whether a copy of the message that could not be delivered should be sent to a dead-letter queue.  
Public PropertyGets or sets a value that indicates whether to make the message private.  
Public PropertyGets or sets a value that indicates whether a copy of the message should be kept in a machine journal on the originating computer.  
Public PropertyGets or sets a value that indicates whether to trace a message as it moves toward its destination queue.  
Top
Protected Properties
Public Methods
 NameDescription
Public Method (Inherited from System.MarshalByRefObject)
Public MethodOverloaded.  (Inherited from System.ComponentModel.Component)
Public Method (Inherited from System.MarshalByRefObject)
Public Method (Inherited from System.MarshalByRefObject)
Public Method (Inherited from System.ComponentModel.Component)
Top
Protected Methods
 NameDescription
Protected Method (Inherited from System.ComponentModel.Component)
Protected Method (Inherited from System.ComponentModel.Component)
Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
Top
Public Events
 NameDescription
Public Event (Inherited from System.ComponentModel.Component)
Top
See Also

Reference

Message Class
System.Messaging Namespace