ODataRoute.HasRelaxedODataVersionConstraint Method
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.
Caution
The version constraint is relaxed by default
Relax the version constraint. The service will allow clients to send both OData V4 and previous max version headers. Headers for the previous max version will be ignored.
[System.Obsolete("The version constraint is relaxed by default")]
public Microsoft.AspNet.OData.Routing.ODataRoute HasRelaxedODataVersionConstraint ();
[<System.Obsolete("The version constraint is relaxed by default")>]
member this.HasRelaxedODataVersionConstraint : unit -> Microsoft.AspNet.OData.Routing.ODataRoute
Public Function HasRelaxedODataVersionConstraint () As ODataRoute
Returns
Returns itself so that multiple calls can be chained.
- Attributes