HttpRequest Constructor

This constructor supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Initializes an HttpRequest object.

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

HttpRequest (
	String^ filename, 
	String^ url, 
	String^ queryString
public HttpRequest (
	String filename, 
	String url, 
	String queryString
public function HttpRequest (
	filename : String, 
	url : String, 
	queryString : String



The name of the file associated with the request.


Information regarding the URL of the current request.


The entire query string sent with the request (everything after the'?').

You do not need to create your own instance of the HttpRequest class. The methods and properties of the HttpRequest class are exposed through the Request property of the HttpApplication, HttpContext, Page, and UserControl classes.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions