This documentation is archived and is not being maintained.

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.

[Visual Basic]
Public Enum MessageType
public enum MessageType
__value public enum MessageType
enum MessageType


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.


Member name Description
Acknowledgment An acknowledgment message.
Normal A normal Message Queuing message.
Report A report message.


Namespace: System.Messaging

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

System.Messaging Namespace | Message | Message.AcknowledgeType | Acknowledgment