Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MsmqTransportBindingElement::Scheme Property

 

Returns a String that contains the addressing scheme that is used by this transport binding element.

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

public:
property String^ Scheme {
	virtual String^ get() override;
}

Property Value

Type: System::String^

A String that contains the addressing scheme that is used by this transport binding element.

The Scheme property returns the string "net.msmq".

The Message Queuing (MSMQ) queued transport supports several addressing schemes, including net.msmq.

MsmqTransportBindingElement transportBindingElement = new MsmqTransportBindingElement();
string scheme = transportBindingElement.Scheme;

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft