Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
IHttpRoute defines the interface for a route expressing how to map an incoming HttpRequestMessage to a particular controller and action.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Interface IHttpRoute
'Usage
Dim instance As IHttpRoute
public interface IHttpRoute
public interface class IHttpRoute
type IHttpRoute = interface end
public interface IHttpRoute
The IHttpRoute type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Constraints | Gets the constraints for the route parameters. |
![]() |
DataTokens | Gets any additional data tokens not used directly to determine whether a route matches an incoming HttpRequestMessage. |
![]() |
Defaults | Gets the default values for route parameters if not provided by the incoming HttpRequestMessage. |
![]() |
Handler | Gets the message handler that will be the recipient of the request. |
![]() |
RouteTemplate | Gets the route template describing the URI pattern to match against. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
GetRouteData | Determine whether this route is a match for the incoming request by looking up the <see cref="!:IRouteData" /> for the route. |
![]() |
GetVirtualPath | Gets a virtual path data based on the route and the values provided. |
Top