ODataRoute Class
A route implementation for OData routes. It supports passing in a route prefix for the route as well as a path constraint that parses the request path as OData.
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
| Name | Description | |
|---|---|---|
![]() | ODataRoute(String^, ODataPathRouteConstraint^) | Initializes a new instance of the ODataRoute class. |
![]() | ODataRoute(String^, ODataPathRouteConstraint^, HttpRouteValueDictionary^, HttpRouteValueDictionary^, HttpRouteValueDictionary^, HttpMessageHandler^) | Initializes a new instance of the ODataRoute class. |
| Name | Description | |
|---|---|---|
![]() | Constraints | Gets the constraints for the route parameters.(Inherited from HttpRoute.) |
![]() | DataTokens | Gets any additional data tokens not used directly to determine whether a route matches an incoming HttpRequestMessage.(Inherited from HttpRoute.) |
![]() | Defaults | Gets the default values for route parameters if not provided by the incoming HttpRequestMessage.(Inherited from HttpRoute.) |
![]() | Handler | Gets or sets the http route handler.(Inherited from HttpRoute.) |
![]() | RoutePrefix | Gets the route prefix. |
![]() | RouteTemplate | Gets the route template describing the URI pattern to match against.(Inherited from HttpRoute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetRouteData(String^, HttpRequestMessage^) | Determines whether this route is a match for the incoming request by looking up the HttpRouteData for the route.(Inherited from HttpRoute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | GetVirtualPath(HttpRequestMessage^, IDictionary<String^, Object^>^) | |
![]() | HasRelaxedODataVersionConstraint() | Obsolete.Relax the version constraint. The service will allow clients to send both OData V1 to V3 and next max version headers. Headers for the next max version will be ignored. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ProcessConstraint(HttpRequestMessage^, Object^, String^, HttpRouteValueDictionary^, HttpRouteDirection) | Determines whether this instance equals a specified route.(Inherited from HttpRoute.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


