MessageVersion Property
Collapse the table of content
Expand the table of content

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.

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:
© 2017 Microsoft