Export (0) Print
Expand All

HttpContextBase.RewritePath Method

When overridden in a derived class, assigns an internal rewrite path, which lets the request URL differ from the internal path of the resource.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method RewritePath(String) When overridden in a derived class, rewrites the URL by using the specified path.
Public method RewritePath(String, Boolean) 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.
Public method RewritePath(String, String, String) When overridden in a derived class, rewrites the URL by using the specified path, path information, and query string information.
Public method RewritePath(String, String, String, Boolean) When overridden in a derived class, rewrites the URL by using the specified path, path information, query string information, and a value that specifies whether the client file path is set to the rewrite path.
Top
Show:
© 2014 Microsoft