MessageEncodingBindingElement.MessageVersion Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, gets or sets the message version that can be handled by the message encoders produced by the message encoder factory.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.ServiceModel.Channels.MessageVersionThe MessageVersion used by the encoders produced by the message encoder factory.
When binding elements are asked to process a message that has a MessageVersion not returned by this property, it should throw an exception.
Show: