Edit

Bagikan melalui


TextMessageEncodingBindingElement.MessageVersion Property

Definition

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

public:
 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.

Exceptions

The value is null.

Remarks

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

Applies to