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; }

ExceptionCondition
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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft