语言

QueueTransferProtocol 枚举

定义

指示用于在队列管理器之间传输消息的协议。

public enum class QueueTransferProtocol
public enum QueueTransferProtocol
type QueueTransferProtocol = 
Public Enum QueueTransferProtocol
继承
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 上的>属性。<>

有关寻址队列的详细信息,请参阅 服务终结点和队列寻址。

适用于