RequestContext.HttpContext RequestContext.HttpContext RequestContext.HttpContext RequestContext.HttpContext Property

定義

取得 HTTP 要求的相關資訊。Gets information about the HTTP request.

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

屬性值

物件,包含 HTTP 要求的相關資訊。An object that contains information about the HTTP request.

備註

若要設定HttpContext屬性,您必須做為參數傳遞的值,當您呼叫RequestContext(HttpContextBase, RouteData)建構函式。To set the HttpContext property, you must pass the value as a parameter when you call the RequestContext(HttpContextBase, RouteData) constructor.

適用於