MsmqIntegrationMessageProperty.MessageType 属性

定义

获取消息类型:NormalAcknowledgmentReport

public:
 property Nullable<System::Messaging::MessageType> MessageType { Nullable<System::Messaging::MessageType> get(); };
public System.Messaging.MessageType? MessageType { get; }
member this.MessageType : Nullable<System.Messaging.MessageType>
Public ReadOnly Property MessageType As Nullable(Of MessageType)

属性值

Nullable<MessageType>

消息类型:NormalAcknowledgmentReport

注解

消息队列 (MSMQ) 通常会在发送消息时设置此属性。 消息队列消息可以是下列类型之一:

  • “正常”,从应用程序发送到队列的典型消息或返回给发送应用程序的响应消息。

  • “确认”,消息队列在发送应用程序请求消息时生成的消息。 例如,消息队列可生成肯定消息或否定消息,以指示原始消息已到达或已被读取。 消息队列会将相应的确认消息返回到发送应用程序所指定的管理队列。

  • “报告”,源队列管理器上定义报告队列时生成的消息。 如果启用了跟踪,则每当原始消息进入或离开消息队列服务器时,消息队列都会向消息队列报告队列发送报告消息。

适用于