TextMessageEncodingBindingElement.MessageVersion Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Exception Condition

The value is null.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top