WebMessageEncodingBindingElement.MessageVersion Property

 

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

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public override MessageVersion MessageVersion { get; set; }

Exception Condition
ArgumentNullException

The value set is null.

ArgumentException

The value set is neither null nor None.

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

.NET Framework
Available since 3.5
Return to top
Show: