HttpResponseBase.RedirectToRoute Method (String, Object)

.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.

Redirects the request to a new URL by using route parameter values and a route name.

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

Public Overridable Sub RedirectToRoute (
	routeName As String,
	routeValues As Object
)

Parameters

routeName
Type: System.String

The name of the route.

routeValues
Type: System.Object

The route parameter values.

Exception Condition
NotImplementedException

Always.

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

.NET Framework
Available since 4.0
Return to top
Show: