HttpRouteData Class

Encapsulates information regarding the HTTP route.

Inheritance Hierarchy

System.Object
  System.Web.Http.Routing.HttpRouteData

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

Syntax

'Declaration
Public Class HttpRouteData _
    Implements IHttpRouteData
'Usage
Dim instance As HttpRouteData
public class HttpRouteData : IHttpRouteData
public ref class HttpRouteData : IHttpRouteData
type HttpRouteData =  
    class
        interface IHttpRouteData
    end
public class HttpRouteData implements IHttpRouteData

The HttpRouteData type exposes the following members.

Constructors

  Name Description
Public method HttpRouteData(IHttpRoute) Initializes a new instance of the HttpRouteData class.
Public method HttpRouteData(IHttpRoute, HttpRouteValueDictionary) Initializes a new instance of the HttpRouteData class.

Top

Properties

  Name Description
Public property Route Gets the object that represents the route.
Public property Values Gets a collection of URL parameter values and default values for the route.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (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.Routing Namespace