共用方式為


HttpContextWrapper(HttpContext) 建構函式

定義

使用指定的內容物件來初始化 HttpContextWrapper 類別的新執行個體。

public:
 HttpContextWrapper(System::Web::HttpContext ^ httpContext);
public HttpContextWrapper (System.Web.HttpContext httpContext);
new System.Web.HttpContextWrapper : System.Web.HttpContext -> System.Web.HttpContextWrapper
Public Sub New (httpContext As HttpContext)

參數

httpContext
HttpContext

由這個包裝函式提供存取的物件。

例外狀況

httpContextnull

適用於