QueueTransferProtocol QueueTransferProtocol QueueTransferProtocol QueueTransferProtocol Enum

定义

指示要在队列管理器之间传输消息时使用的协议。Indicates the protocol to be used in transferring messages between queue managers.

public enum class QueueTransferProtocol
public enum QueueTransferProtocol
type QueueTransferProtocol = 
Public Enum QueueTransferProtocol
继承
QueueTransferProtocolQueueTransferProtocolQueueTransferProtocolQueueTransferProtocol

字段

Native Native Native Native 0

使用本机 MSMQ 协议。Use the native MSMQ protocol.

Srmp Srmp Srmp Srmp 1

使用 SOAP 可靠消息传送协议 (SRMP)。Use the Soap Reliable Messaging Protocol (SRMP).

SrmpSecure SrmpSecure SrmpSecure SrmpSecure 2

使用 SOAP 可靠消息传送协议安全 (SRMPS) 传输。Use the Soap Reliable Messaging Protocol Secure (SRMPS) transport.

注解

UseActiveDirectory 属性设置为时指定 Srmp 或 SrmpSecuretrue将导致异常,因为为 Active Directory 寻址使用 SRMP 时不提供消息队列 (MSMQ)。Specifying Srmp or SrmpSecure when the UseActiveDirectory attribute is set to true will cause an exception because Message Queuing (MSMQ) does not provide for Active Directory addressing when using SRMP. UseActiveDirectory 属性位于 <netMsmqBinding> <msmqIntegrationBinding>UseActiveDirectory is an attribute on the <netMsmqBinding> and the <msmqIntegrationBinding>.

有关寻址队列的详细信息,请参阅服务终结点和队列寻址For more information about addressing queues, see Service Endpoints and Queue Addressing.

适用于