HttpRequest.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)

public HttpRequest (
	string filename,
	string url,
	string queryString
public HttpRequest (
	String filename, 
	String url, 
	String queryString
public function HttpRequest (
	filename : String, 
	url : String, 
	queryString : String
Not applicable.



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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions