Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 MessageType Enumeration

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
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)
Visual Basic (Declaration)
Public Enumeration MessageType
Visual Basic (Usage)
Dim instance As MessageType
C#
public enum MessageType
Visual C++
public enum class MessageType
JScript
public enum MessageType
Member nameDescription
Supported by the .NET Compact FrameworkAcknowledgment An acknowledgment message.
Supported by the .NET Compact FrameworkNormal A normal Message Queuing message.
Supported by the .NET Compact FrameworkReport A 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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker