BinaryMessageEncodingBindingElement.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 message and WS-Addressing versions that are used or expected.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.ServiceModel.Channels.MessageVersionThe MessageVersion that is used or expected.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value set is Nothing. |
| ArgumentOutOfRangeException | The value set is an unsupported envelope version. |
Show: