HttpContextBase::RewritePath Method (String^, Boolean)
.NET Framework (current version)
When overridden in a derived class, rewrites the URL by using the specified path and a value that specifies whether the virtual path for server resources is modified.
Assembly: System.Web (in System.Web.dll)
Parameters
- path
-
Type:
System::String^
The replacement path.
- rebaseClientPath
-
Type:
System::Boolean
true to reset the virtual path; false to keep the virtual path unchanged.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: