Share via


RouteEntry Constructor (String, IHttpRoute)

 

Initializes a new instance of the RouteEntry class.

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

Syntax

public RouteEntry(
    string name,
    IHttpRoute route
)
public:
RouteEntry(
    String^ name,
    IHttpRoute^ route
)
new : 
        name:string *
        route:IHttpRoute -> RouteEntry
Public Sub New (
    name As String,
    route As IHttpRoute
)

Parameters

  • name
    Type: System.String

    The route name, if any; otherwise, null.

See Also

RouteEntry Class
System.Web.Http.Routing Namespace

Return to top