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

TextMessageEncodingBindingElement.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 and WS-Addressing versions that are used to format the text message.

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

public override MessageVersion MessageVersion { get; set; }

Property Value

Type: System.ServiceModel.Channels.MessageVersion
The MessageVersion that is used to format messages. The default value is Soap12WSAddressing10.

ExceptionCondition
ArgumentNullException

The value is null.

The default MessageVersion for this constructor is the version of WS-Addressing 1.0 and SOAP 1.2.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft