HttpContextWrapper::RewritePath Method (String^)
.NET Framework (current version)
Rewrites the URL by using the specified path.
Assembly: System.Web (in System.Web.dll)
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
Available since 3.5
Show: