MtomMessageEncodingElement.MessageVersion 属性

定义

获取或设置使用此绑定发送的消息的 SOAP 版本。

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

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

属性

适用于