HttpWebRoute Constructor (String, RouteValueDictionary, RouteValueDictionary, IRouteHandler)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: System.Web.Http.WebHost.Routing
Assembly: System.Web.Http.WebHost (in System.Web.Http.WebHost.dll)
Syntax
'Declaration
Public Sub New ( _
url As String, _
defaults As RouteValueDictionary, _
constraints As RouteValueDictionary, _
routeHandler As IRouteHandler _
)
public HttpWebRoute(
string url,
RouteValueDictionary defaults,
RouteValueDictionary constraints,
IRouteHandler routeHandler
)
public:
HttpWebRoute(
String^ url,
RouteValueDictionary^ defaults,
RouteValueDictionary^ constraints,
IRouteHandler^ routeHandler
)
new :
url:string *
defaults:RouteValueDictionary *
constraints:RouteValueDictionary *
routeHandler:IRouteHandler -> HttpWebRoute
public function HttpWebRoute(
url : String,
defaults : RouteValueDictionary,
constraints : RouteValueDictionary,
routeHandler : IRouteHandler
)
Parameters
- url
Type: System.String
- defaults
Type: System.Web.Routing.RouteValueDictionary
- constraints
Type: System.Web.Routing.RouteValueDictionary
- routeHandler
Type: System.Web.Routing.IRouteHandler
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.