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.

WebMessageEncodingBindingElement::MessageVersion Property

 

Gets or sets the message version that indicates that the binding element does not use SOAP or WS-Addressing.

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

public:
property MessageVersion^ MessageVersion {
	virtual MessageVersion^ get() override;
	virtual void set(MessageVersion^ value) override;
}

Exception Condition
ArgumentNullException

The value set is null.

ArgumentException

The value set is neither null nor None.

The JSON message encoding does not support either SOAP or WS-Addressing. The None contains None and None, which respectively specifies this non-support.

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