QueueTransferProtocol 列舉

定義

表示在佇列管理員之間傳輸訊息時所使用的通訊協定 (Protocol)。

C#
public enum QueueTransferProtocol
繼承
QueueTransferProtocol

欄位

Native 0

使用原生 MSMQ 通訊協定。

Srmp 1

使用 Soap Reliable Messaging Protocol (SRMP)。

SrmpSecure 2

使用 Soap Reliable Messaging Protocol Secure (SRMPS) 傳輸。

備註

當 UseActiveDirectory 屬性設定為時,指定 Srmp 或 SrmpSecure true 會造成例外狀況,因為當使用 Srmp 時,訊息佇列 (MSMQ) 不會提供 Active Directory 定址。 UseActiveDirectory 是 < netMsmqBinding > < msmqIntegrationBinding > 的屬性。

如需有關定址佇列的詳細資訊,請參閱 服務端點和佇列定址

適用於

產品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8