MsmqTransportBindingElement.QueueTransferProtocol Właściwość

Definicja

Pobiera lub ustawia wartość wyliczenia wskazującą transport w kanale komunikacyjnym w kolejce używany przez to powiązanie.

public:
 property System::ServiceModel::QueueTransferProtocol QueueTransferProtocol { System::ServiceModel::QueueTransferProtocol get(); void set(System::ServiceModel::QueueTransferProtocol value); };
public System.ServiceModel.QueueTransferProtocol QueueTransferProtocol { get; set; }
member this.QueueTransferProtocol : System.ServiceModel.QueueTransferProtocol with get, set
Public Property QueueTransferProtocol As QueueTransferProtocol

Wartość właściwości

QueueTransferProtocol Wartość wyliczenia wskazująca transport używany do dostarczania komunikatów między menedżerami kolejek.

Wyjątki

Wartość nie jest jedną z QueueTransferProtocol wartości.

Przykłady

MsmqTransportBindingElement transportBindingElement = new MsmqTransportBindingElement();
transportBindingElement.QueueTransferProtocol = QueueTransferProtocol.Native;

Uwagi

Usługa kolejkowania komunikatów (MSMQ) nie obsługuje adresowania usługi Active Directory w przypadku korzystania z protokołu SOAP Reliable Messaging Protocol (SRMP), więc nie należy ustawiać wartości QueueTransferProtocol na lub Srmp gdy UseActiveDirectory jest ustawiona na true.Srmp

Dotyczy