Szerkesztés

Megosztás a következőn keresztül:


RequestContext.HttpContext Property

Definition

Gets information about the HTTP request.

public:
 property System::Web::HttpContextBase ^ HttpContext { System::Web::HttpContextBase ^ get(); };
public:
 virtual property System::Web::HttpContextBase ^ HttpContext { System::Web::HttpContextBase ^ get(); void set(System::Web::HttpContextBase ^ value); };
public System.Web.HttpContextBase HttpContext { get; }
public virtual System.Web.HttpContextBase HttpContext { get; set; }
member this.HttpContext : System.Web.HttpContextBase
member this.HttpContext : System.Web.HttpContextBase with get, set
Public ReadOnly Property HttpContext As HttpContextBase
Public Overridable Property HttpContext As HttpContextBase

Property Value

An object that contains information about the HTTP request.

Remarks

To set the HttpContext property, you must pass the value as a parameter when you call the RequestContext(HttpContextBase, RouteData) constructor.

Applies to