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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา