ODataMessageReaderSettings.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 or sets the maximum OData protocol version the reader should accept and understand.
public Microsoft.OData.ODataVersion MaxProtocolVersion { get; set; }
member this.MaxProtocolVersion : Microsoft.OData.ODataVersion with get, set
Public Property MaxProtocolVersion As ODataVersion
Property Value
The maximum OData protocol version the reader should accept and understand.
Remarks
If the payload to be read has higher OData-Version than the value specified for this property the reader will fail. Reader will also not report features which require higher version than specified for this property. It may either ignore such features in the payload or fail on them.