Breyta

Deila með


MtomMessageEncodingBindingElement.MessageVersion Property

Definition

Gets or sets the SOAP message and WS-Addressing versions that are used or expected.

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 for the SOAP message.

Exceptions

The value is null.

The value None is not allowed.

Remarks

The default MessageVersion used consists of the version of WS-Addressing 1.0 and SOAP1.2.

Applies to