HttpResponseBase.RedirectToRoutePermanent Method (String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Performs a permanent redirection from the requested URL to a new URL by using a route name.

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

abstract RedirectToRoutePermanent : 
        routeName:string -> unit
override RedirectToRoutePermanent : 
        routeName:string -> unit

Parameters

routeName
Type: System.String

The name of the route.

Exception Condition
NotImplementedException

Always.

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

.NET Framework
Available since 4.0
Return to top
Show: