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

适用于