TextMessageEncodingBindingElement.MessageVersion Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the SOAP and WS-Addressing versions that are used to format the text message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.ServiceModel.Channels.MessageVersionThe 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.
Show: