MessageEncodingBindingElement.MessageVersion Property

July 28, 2014

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.

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

public abstract MessageVersion MessageVersion { get; set; }

Property Value

Type: System.ServiceModel.Channels.MessageVersion
The 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft