Export (0) Print
Expand All
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
public enum MessageType
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 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft