QueueTransferProtocol 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示用于在队列管理器之间传输消息的协议。
public enum class QueueTransferProtocol
public enum QueueTransferProtocol
type QueueTransferProtocol =
Public Enum QueueTransferProtocol
- 继承
字段
| 名称 | 值 | 说明 |
|---|---|---|
| Native | 0 | 使用本机 MSMQ 协议。 |
| Srmp | 1 | 使用 Soap Reliable Messaging 协议(SRMP)。 |
| SrmpSecure | 2 | 使用 Soap Reliable Messaging Protocol Secure (SRMPS) 传输。 |
注解
将 UseActiveDirectory 属性设置为 true 时指定 Srmp 或 SrmpSecure 将导致异常,因为使用 SRMP 时,消息队列(MSMQ)不提供Active Directory寻址。 UseActiveDirectory 是 netMsmqBinding< 和 msmqIntegrationBinding 上的>属性。<>
有关寻址队列的详细信息,请参阅 服务终结点和队列寻址。