Expand Minimize

MessageType Enumeration

Identifies the type of a message. A message can be a typical Message Queuing message, a positive (arrival and read) or negative (arrival and read) acknowledgment message, or a report message.

Namespace:  System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public enum MessageType

Member nameDescription
Supported by the .NET Compact FrameworkAcknowledgmentAn acknowledgment message.
Supported by the .NET Compact FrameworkNormalA normal Message Queuing message.
Supported by the .NET Compact FrameworkReportA report message.

Typical (Normal type) messages are those that you send to a queue using either the Message class or any overload of the MessageQueue.Send method.

Message Queuing generates acknowledgment messages whenever the sending application requests one. If you send a message using the Message class, you can use its AcknowledgeType property to specify the types of acknowledgments to receive. For example, Message Queuing can generate positive or negative messages to indicate that the original message arrived or was read. Message Queuing returns the appropriate acknowledgment message to the administration queue specified by the sending application. When you receive or peek an acknowledgment message using a Message, its Acknowledgment property indicates the reason Message Queuing sent the acknowledgment.

Message Queuing generates report messages whenever a report queue is defined at the source queue manager. When tracing is enabled (by setting the Message.UseTracing property on the original message), Message Queuing sends a report message to the Message Queuing report queue each time the original message enters or leaves a Message Queuing server.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 3.5, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft