HttpWebRoute Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Inheritance Hierarchy
System.Object
System.Web.Routing.RouteBase
System.Web.Routing.Route
System.Web.Http.WebHost.Routing.HttpWebRoute
Namespace: System.Web.Http.WebHost.Routing
Assembly: System.Web.Http.WebHost (in System.Web.Http.WebHost.dll)
Syntax
'Declaration
Public Class HttpWebRoute _
Inherits Route
public class HttpWebRoute : Route
public ref class HttpWebRoute : public Route
type HttpWebRoute =
class
inherit Route
end
public class HttpWebRoute extends Route
The HttpWebRoute type exposes the following members.
Constructors
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Constraints | Gets or sets a dictionary of expressions that specify valid values for a URL parameter. (Inherited from Route.) |
![]() |
DataTokens | Gets or sets custom values that are passed to the route handler, but which are not used to determine whether the route matches a URL pattern. (Inherited from Route.) |
![]() |
Defaults | Gets or sets the values to use if the URL does not contain all the parameters. (Inherited from Route.) |
![]() |
RouteExistingFiles | Gets or sets a value that indicates whether ASP.NET routing should handle URLs that match an existing file. (Inherited from RouteBase.) |
![]() |
RouteHandler | Gets or sets the object that processes requests for the route. (Inherited from Route.) |
![]() |
Url | Gets or sets the URL pattern for the route. (Inherited from Route.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetRouteData | Returns information about the requested route. (Inherited from Route.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
GetVirtualPath | (Overrides Route.GetVirtualPath(RequestContext, RouteValueDictionary).) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ProcessConstraint | Determines whether a parameter value matches the constraint for that parameter. (Inherited from Route.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)