HttpContextWrapper::RewritePath Method (String^)

 

Rewrites the URL by using the specified path.

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

public:
virtual void RewritePath(
	String^ path
) override

Parameters

path
Type: System::String^

The replacement path.

Exception Condition
ArgumentNullException

path is null.

HttpException

path is not in the current application's root directory.

.NET Framework
Available since 3.5
Return to top
Show: