HttpContextBase.RewritePath Method (String, String, String)

 

When overridden in a derived class, rewrites the URL by using the specified path, path information, and query string information.

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

abstract RewritePath : 
        filePath:string *
        pathInfo:string *
        queryString:string -> unit
override RewritePath : 
        filePath:string *
        pathInfo:string *
        queryString:string -> unit

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
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: