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.

Namespace:   System.Web.Http.OData.Routing
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

System::Object
  System.Web.Http.Routing::HttpRoute
    System.Web.Http.OData.Routing::ODataRoute

public ref class ODataRoute : HttpRoute

NameDescription
System_CAPS_pubpropertyConstraints

Gets the constraints for the route parameters.(Inherited from HttpRoute.)

System_CAPS_pubpropertyDataTokens

Gets any additional data tokens not used directly to determine whether a route matches an incoming HttpRequestMessage.(Inherited from HttpRoute.)

System_CAPS_pubpropertyDefaults

Gets the default values for route parameters if not provided by the incoming HttpRequestMessage.(Inherited from HttpRoute.)

System_CAPS_pubpropertyHandler

Gets or sets the http route handler.(Inherited from HttpRoute.)

System_CAPS_pubpropertyRoutePrefix

Gets the route prefix.

System_CAPS_pubpropertyRouteTemplate

Gets the route template describing the URI pattern to match against.(Inherited from HttpRoute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetRouteData(String^, HttpRequestMessage^)

Determines whether this route is a match for the incoming request by looking up the HttpRouteData for the route.(Inherited from HttpRoute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetVirtualPath(HttpRequestMessage^, IDictionary<String^, Object^>^)
System_CAPS_pubmethodHasRelaxedODataVersionConstraint()

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.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodProcessConstraint(HttpRequestMessage^, Object^, String^, HttpRouteValueDictionary^, HttpRouteDirection)

Determines whether this instance equals a specified route.(Inherited from HttpRoute.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: