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

  Name Description
Public method HttpWebRoute(String, IRouteHandler)
Public method HttpWebRoute(String, RouteValueDictionary, IRouteHandler)
Public method HttpWebRoute(String, RouteValueDictionary, RouteValueDictionary, IRouteHandler)
Public method HttpWebRoute(String, RouteValueDictionary, RouteValueDictionary, RouteValueDictionary, IRouteHandler)

Top

Properties

  Name Description
Public property Constraints Gets or sets a dictionary of expressions that specify valid values for a URL parameter. (Inherited from Route.)
Public property 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.)
Public property Defaults Gets or sets the values to use if the URL does not contain all the parameters. (Inherited from Route.)
Public property RouteExistingFiles Gets or sets a value that indicates whether ASP.NET routing should handle URLs that match an existing file. (Inherited from RouteBase.)
Public property RouteHandler Gets or sets the object that processes requests for the route. (Inherited from Route.)
Public property Url Gets or sets the URL pattern for the route. (Inherited from Route.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetRouteData Returns information about the requested route. (Inherited from Route.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetVirtualPath (Overrides Route.GetVirtualPath(RequestContext, RouteValueDictionary).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ProcessConstraint Determines whether a parameter value matches the constraint for that parameter. (Inherited from Route.)
Public method 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.

See Also

Reference

System.Web.Http.WebHost.Routing Namespace