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

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.

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

'Declaration
Public Overrides Property MessageVersion As MessageVersion

Property Value

Type: System.ServiceModel.Channels.MessageVersion
The MessageVersion that is used or expected.

ExceptionCondition
ArgumentNullException

The value set is Nothing.

ArgumentOutOfRangeException

The value set is an unsupported envelope version.

Specifies the versions of SOAP and WS-Addressing associated with a message and its exchange.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft