Sdílet prostřednictvím


RequestContext.HttpContext Vlastnost

Definice

Získá informace o požadavku HTTP.

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

Hodnota vlastnosti

HttpContextBase

Objekt, který obsahuje informace o požadavku HTTP.

Poznámky

Chcete-li HttpContext nastavit vlastnost, je nutné předat hodnotu jako parametr při volání RequestContext(HttpContextBase, RouteData) konstruktoru.

Platí pro