RequestContext RequestContext RequestContext RequestContext Constructors

Definición

Sobrecargas

RequestContext() RequestContext() RequestContext()

Inicializa una nueva instancia de la clase RequestContext.Initializes a new instance of the RequestContext class.

RequestContext(HttpContextBase, RouteData) RequestContext(HttpContextBase, RouteData) RequestContext(HttpContextBase, RouteData)

Inicializa una nueva instancia de la clase RequestContext.Initializes a new instance of the RequestContext class.

RequestContext() RequestContext() RequestContext()

Inicializa una nueva instancia de la clase RequestContext.Initializes a new instance of the RequestContext class.

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

RequestContext(HttpContextBase, RouteData) RequestContext(HttpContextBase, RouteData) RequestContext(HttpContextBase, RouteData)

Inicializa una nueva instancia de la clase RequestContext.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

Parámetros

httpContext
HttpContextBase HttpContextBase HttpContextBase HttpContextBase

Objeto que contiene información sobre la solicitud HTTP.An object that contains information about the HTTP request.

routeData
RouteData RouteData RouteData RouteData

Objeto que contiene información sobre la ruta que coincide con la solicitud actual.An object that contains information about the route that matched the current request.

Excepciones

httpContext o routeData es null.httpContext or routeData is null.

Se aplica a