HttpResponseBase.RedirectToRoutePermanent Method (String, Object)

.NET Framework (current version)
 

Performs a permanent redirection from the requested URL to a new URL by using the route parameter values and the name of the route that correspond to the new URL.

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

abstract RedirectToRoutePermanent : 
        routeName:string *
        routeValues:Object -> unit
override RedirectToRoutePermanent : 
        routeName:string *
        routeValues:Object -> unit

Parameters

routeName
Type: System.String

The name of the route.

routeValues
Type: System.Object

The route parameter values.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 4.0
Return to top
Show: