Message Members

Provides access to the properties needed to define a Message Queuing message.

The following tables list the members exposed by the Message type.

  Name Description
Public method Supported by the .NET Compact Framework Message Overloaded. Initializes a new instance of the Message class.
Top

  Name Description
Public field Static Supported by the .NET Compact Framework InfiniteTimeout Specifies that no time-out exists.
Top

(see also Protected Properties )
  Name Description
Public property Supported by the .NET Compact Framework AcknowledgeType Gets or sets the type of acknowledgment message to be returned to the sending application.
Public property Supported by the .NET Compact Framework Acknowledgment Gets the classification of acknowledgment that this message represents.
Public property Supported by the .NET Compact Framework AdministrationQueue Gets or sets the queue that receives the acknowledgement messages that Message Queuing generates.
Public property Supported by the .NET Compact Framework AppSpecific Gets or sets additional, application-specific information.
Public property Supported by the .NET Compact Framework ArrivedTime Gets the time that the message arrived in the destination queue.
Public property AttachSenderId Gets or sets a value that indicates whether the sender ID should be attached to the message.
Public property Authenticated Gets a value that indicates whether the message was authenticated.
Public property AuthenticationProviderName Gets or sets the name of the cryptographic provider used to generate the digital signature of the message.
Public property AuthenticationProviderType Gets or sets the type of cryptographic provider used to generate the digital signature of the message.
Public property Supported by the .NET Compact Framework Body Gets or sets the content of the message.
Public property Supported by the .NET Compact Framework BodyStream Gets or sets the information in the body of the message.
Public property Supported by the .NET Compact Framework BodyType Gets or sets the type of data that the message body contains.
Public property ConnectorType Gets or sets a value that indicates that some message properties typically set by Message Queuing were set by the sending application.
Public property Container  Gets the IContainer that contains the Component.(inherited from Component)
Public property Supported by the .NET Compact Framework CorrelationId Gets or sets the message identifier used by acknowledgment, report, and response messages to reference the original message.
Public property Supported by the .NET Compact Framework DestinationQueue Gets the intended destination queue for a message.
Public property DestinationSymmetricKey Gets or sets the symmetric key used to encrypt application-encrypted messages or messages sent to foreign queues.
Public property DigitalSignature Gets or sets the digital signature that Message Queuing uses to authenticate the message.
Public property EncryptionAlgorithm Gets or sets the encryption algorithm used to encrypt the body of a private message.
Public property Supported by the .NET Compact Framework Extension Gets or sets additional, application-defined information associated with the message.
Public property Supported by the .NET Compact Framework Formatter Gets or sets the formatter used to serialize an object into or deserialize an object from the message body.
Public property HashAlgorithm Gets or sets the hashing algorithm that Message Queuing uses when authenticating a message or creating a digital signature for a message.
Public property Supported by the .NET Compact Framework Id Gets the message's identifier.
Public property Supported by the .NET Compact Framework IsFirstInTransaction Gets a value that indicates whether the message was the first message sent in a transaction.
Public property Supported by the .NET Compact Framework IsLastInTransaction Gets a value that indicates whether the message was the last message sent in a transaction.
Public property Supported by the .NET Compact Framework Label Gets or sets an application-defined Unicode string that describes the message.
Public property LookupId Introduced in MSMQ 3.0. Gets the message's lookup identifier.
Public property Supported by the .NET Compact Framework MessageType Gets the message type: Normal, Acknowledgment, or Report.
Public property Supported by the .NET Compact Framework Priority Gets or sets the message priority, which determines where in the queue the message is placed.
Public property Supported by the .NET Compact Framework Recoverable Gets 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 property Supported by the .NET Compact Framework ResponseQueue Gets or sets the queue that receives application-generated response messages.
Public property SecurityContext Gets or sets the security context for a message.
Public property SenderCertificate Gets or sets the security certificate used to authenticate messages.
Public property SenderId Gets the identifier of the sending user.
Public property Supported by the .NET Compact Framework SenderVersion Gets the version of Message Queuing used to send the message.
Public property Supported by the .NET Compact Framework SentTime Gets the date and time on the sending computer that the message was sent by the source queue manager.
Public property Supported by the .NET Compact Framework Site  Gets or sets the ISite of the Component.(inherited from Component)
Public property SourceMachine Gets the computer from which the message originated.
Public property Supported by the .NET Compact Framework TimeToBeReceived Gets or sets the maximum amount of time for the message to be received from the destination queue.
Public property Supported by the .NET Compact Framework TimeToReachQueue Gets or sets the maximum amount of time for the message to reach the queue.
Public property Supported by the .NET Compact Framework TransactionId Gets the identifier for the transaction of which the message was a part.
Public property TransactionStatusQueue Gets the transaction status queue on the source computer.
Public property UseAuthentication Gets or sets a value that indicates whether the message was (or must be) authenticated before being sent.
Public property Supported by the .NET Compact Framework UseDeadLetterQueue Gets 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 property UseEncryption Gets or sets a value that indicates whether to make the message private.
Public property Supported by the .NET Compact Framework UseJournalQueue Gets or sets a value that indicates whether a copy of the message should be kept in a machine journal on the originating computer.
Public property Supported by the .NET Compact Framework UseTracing Gets or sets a value that indicates whether to trace a message as it moves toward its destination queue.
Top

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(inherited from Component)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(inherited from Component)
Protected property Supported by the .NET Compact Framework Events  Gets the list of event handlers that are attached to this Component.(inherited from Component)
Top

(see also Protected Methods )
  Name Description
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework Dispose  Overloaded. Releases the resources used by the Component. (inherited from Component)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (inherited from Component)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Dispose  Overloaded. Releases the resources used by the Component. (inherited from Component)
Protected method Supported by the .NET Compact Framework Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (inherited from Component)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

  Name Description
Public event Supported by the .NET Compact Framework Disposed  Occurs when the component is disposed by a call to the Dispose method. (inherited from Component)
Top

Community Additions

ADD
Show: