Rediger

Del via


WebMessageEncodingBindingElement.MessageVersion Property

Definition

Gets or sets the message version that indicates that the binding element does not use SOAP or WS-Addressing.

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

None

Exceptions

The value set is null.

The value set is neither null nor None.

Remarks

The JSON message encoding does not support either SOAP or WS-Addressing. The None contains None and None, which respectively specifies this non-support.

Applies to