TextMessageEncodingBindingElement::MessageVersion Property

 

Gets or sets the SOAP and WS-Addressing versions that are used to format the text message.

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

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

Property Value

Type: System.ServiceModel.Channels::MessageVersion^

The MessageVersion that is used to format messages. The default value is Soap12WSAddressing10.

Exception Condition
ArgumentNullException

The value is null.

The default MessageVersion for this constructor is the version of WS-Addressing 1.0 and SOAP 1.2.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: