Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpContextWrapper Constructor
Collapse the table of content
Expand the table of content

HttpContextWrapper Constructor

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.

ExceptionCondition
ArgumentNullException

httpContext is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft