HttpContextWrapper Constructor (HttpContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: