TextMessageEncodingBindingElement.MessageVersion Property


Gets or sets the SOAP and WS-Addressing versions that are used to format the text message.

 virtual property System::ServiceModel::Channels::MessageVersion ^ MessageVersion { System::ServiceModel::Channels::MessageVersion ^ get(); void set(System::ServiceModel::Channels::MessageVersion ^ value); };
public override System.ServiceModel.Channels.MessageVersion MessageVersion { get; set; }
member this.MessageVersion : System.ServiceModel.Channels.MessageVersion with get, set
Public Overrides Property MessageVersion As MessageVersion

Property Value

The MessageVersion that is used to format messages. The default value is Soap12WSAddressing10.


The value is null.


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

Applies to