MsmqBindingBase.Scheme Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the scheme for this binding.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public override string Scheme { get; }

Property Value

Type: System.String

The scheme for this binding. The scheme returned depends on the implementation of MsmqBindingBase. The NetMsmqBinding implementation returns "net.msmq". The MsmqIntegrationBinding implementation returns "msmq.formatname".

Message Queuing (MSMQ) supports transporting messages between queue managers using both the native MSMQ protocol and the SRMP protocol. Applications that use the queued transport binding can use both of these protocols. The protocol schemes supported by the queued transport binding are net.msmq for the native protocol, net.srmp for the SRMP protocol, and net.srmps for SRMP over HTTPS.

The MsmqIntegrationBinding supports a single scheme, msmq.formatname, with which the user can specify the format name of the queue directly in the queue address.

.NET Framework
Available since 3.0
Return to top