NetMsmqBinding.QueueTransferProtocol Egenskap

Definition

Hämtar eller anger ett uppräkningsvärde som anger den köade kommunikationskanaltransporten som bindningen använder.

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

Egenskapsvärde

Transporten mellan köhanterare som bindningen använder.

Exempel

Följande kod visar hur du anger egenskapen QueueTransferProtocol .

NetMsmqBinding binding = new NetMsmqBinding();
binding.QueueTransferProtocol = QueueTransferProtocol.Native;

Kommentarer

Message Queuing (MSMQ) stöder inte služba Active Directory adressering när du använder SOAP Reliable Messaging Protocol, så ställ inte in QueueTransferProtocolSrmp eller SrmpSecure när UseActiveDirectory är inställd på true.

Gäller för