HttpContextWrapper Constructor (HttpContext^)

 

Initializes a new instance of the HttpContextWrapper class by using the specified context object.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
HttpContextWrapper(
	HttpContext^ httpContext
)

Parameters

httpContext
Type: System.Web::HttpContext^

The object that this wrapper class provides access to.

Exception Condition
ArgumentNullException

httpContext is null.

.NET Framework
Available since 3.5
Return to top
Show: