Export (0) Print
Expand All

HttpResponseBase.RedirectToRoute Method (String, Object)

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)

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

ExceptionCondition
NotImplementedException

Always.

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

.NET Framework

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