HttpContextWrapper.RewritePath Method (String, String, String)

 

Rewrites the URL by using the specified path, path information, and query string information.

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

public override void RewritePath(
	string filePath,
	string pathInfo,
	string queryString
)

Parameters

filePath
Type: System.String

The replacement path.

pathInfo
Type: System.String

Additional path information for a resource.

queryString
Type: System.String

The request query string.

Exception Condition
ArgumentNullException

The filePath parameter is null.

HttpException

The filePath parameter is not in the current application's root directory.

.NET Framework
Available since 3.5
Return to top
Show: