QueueTransferProtocol 列舉


表示在佇列管理員之間傳輸訊息時所使用的通訊協定 (Protocol)。Indicates the protocol to be used in transferring messages between queue managers.

public enum class QueueTransferProtocol
public enum QueueTransferProtocol
type QueueTransferProtocol = 
Public Enum QueueTransferProtocol


Native 0

使用原生 MSMQ 通訊協定。Use the native MSMQ protocol.

Srmp 1

使用 Soap Reliable Messaging Protocol (SRMP)。Use the Soap Reliable Messaging Protocol (SRMP).

SrmpSecure 2

使用 Soap Reliable Messaging Protocol Secure (SRMPS) 傳輸。Use the Soap Reliable Messaging Protocol Secure (SRMPS) transport.


當 UseActiveDirectory 屬性設定為時,指定 Srmp 或 SrmpSecure true 會造成例外狀況,因為當使用 Srmp 時,訊息佇列 (MSMQ) 不會提供 Active Directory 定址。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.