DataServiceContext.MaxProtocolVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the maximum version of the Open Data Protocol (OData) that the client is allowed to use.
public virtual Microsoft.OData.Client.ODataProtocolVersion MaxProtocolVersion { get; }
member this.MaxProtocolVersion : Microsoft.OData.Client.ODataProtocolVersion
Public Overridable ReadOnly Property MaxProtocolVersion As ODataProtocolVersion
Property Value
The maximum version of OData that the client is allowed to use.
Remarks
If the request or response would require higher version the client will fail.