MsmqIntegrationMessageProperty.MessageType Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the message type: Normal, Acknowledgment, or Report.

Namespace:   System.ServiceModel.MsmqIntegration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public Nullable<MessageType> MessageType { get; internal set; }

Property Value

Type: System.Nullable<MessageType>

The message type: Normal, Acknowledgment, or Report.

Message Queuing (MSMQ) typically sets this property when it sends the message. A Message Queuing message can be one of the following types:

  • Normal, which is either a typical message sent from an application to a queue, or a response message returned to the sending application.

  • Acknowledgment, which Message Queuing generates whenever the sending application requests one. 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.

  • Report, which is generated whenever a report queue is defined at the source Queue Manager. When tracing is enabled, Message Queuing sends a report message to the Message Queuing report queue each time the original message enters or leaves a Message Queuing server.

.NET Framework
Available since 3.0
Return to top
Show: