Share via


DataServiceContext.MaxProtocolVersion Property

Definition

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.

Applies to