HttpRequestWrapper Constructor (HttpRequest)

 
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 HttpRequestWrapper class by using the specified request object.

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

public HttpRequestWrapper(
	HttpRequest httpRequest
)

Parameters

httpRequest
Type: System.Web.HttpRequest

The object that this wrapper class provides access to.

Exception Condition
ArgumentNullException

httpRequest is null.

.NET Framework
Available since 3.5
Return to top
Show: