HttpResponseBase.RedirectToRoutePermanent Method (String, RouteValueDictionary)
.NET Framework (current version)
Performs a permanent redirection from the requested URL to a new URL by using route parameter values and a route name.
Assembly: System.Web (in System.Web.dll)
public virtual void RedirectToRoutePermanent( string routeName, RouteValueDictionary routeValues )
Parameters
- routeName
-
Type:
System.String
The name of the route.
- routeValues
-
Type:
System.Web.Routing.RouteValueDictionary
The route parameter values.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
For information about this member, see HttpResponse.RedirectToRoutePermanent(String, RouteValueDictionary).
.NET Framework
Available since 4.0
Available since 4.0
Show: