RedirectToRoute Method (String, RouteValueDictionary)

HttpResponseBase.RedirectToRoute Method (String, RouteValueDictionary)

.NET Framework (current version)
 

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 virtual void RedirectToRoute(
	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.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft