Export (0) Print
Expand All

HttpResponseBase.RedirectToRoutePermanent Method (String, Object)

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.

ExceptionCondition
NotImplementedException

Always.

For information about this member, see HttpResponse.RedirectToRoutePermanent(String, Object).

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft