Rediger

Del via


RequestContext Constructors

Definition

Initializes a new instance of the RequestContext class.

Overloads

RequestContext()

Initializes a new instance of the RequestContext class.

RequestContext(HttpContextBase, RouteData)

Initializes a new instance of the RequestContext class.

RequestContext()

Initializes a new instance of the RequestContext class.

public:
 RequestContext();
public RequestContext ();
Public Sub New ()

Applies to

RequestContext(HttpContextBase, RouteData)

Initializes a new instance of the RequestContext class.

public:
 RequestContext(System::Web::HttpContextBase ^ httpContext, System::Web::Routing::RouteData ^ routeData);
public RequestContext (System.Web.HttpContextBase httpContext, System.Web.Routing.RouteData routeData);
new System.Web.Routing.RequestContext : System.Web.HttpContextBase * System.Web.Routing.RouteData -> System.Web.Routing.RequestContext
Public Sub New (httpContext As HttpContextBase, routeData As RouteData)

Parameters

httpContext
HttpContextBase

An object that contains information about the HTTP request.

routeData
RouteData

An object that contains information about the route that matched the current request.

Exceptions

httpContext or routeData is null.

Applies to