RequestContext.HttpContext Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.