TextMessageEncodingElement.MessageVersion 属性

定义

获取或设置用于对使用此绑定发送的文本消息进行格式设置的 SOAP 和 WS-Addressing 版本。

public:
 property System::ServiceModel::Channels::MessageVersion ^ MessageVersion { System::ServiceModel::Channels::MessageVersion ^ get(); void set(System::ServiceModel::Channels::MessageVersion ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.MessageVersionConverter))]
[System.Configuration.ConfigurationProperty("messageVersion", DefaultValue="Soap12WSAddressing10")]
public System.ServiceModel.Channels.MessageVersion MessageVersion { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.MessageVersionConverter))>]
[<System.Configuration.ConfigurationProperty("messageVersion", DefaultValue="Soap12WSAddressing10")>]
member this.MessageVersion : System.ServiceModel.Channels.MessageVersion with get, set
Public Property MessageVersion As MessageVersion

属性值

一个 MessageVersion 值,指定使用此绑定发送的消息的 SOAP 版本。 默认值为 Soap12WSAddressing10

属性

适用于