RedirectToRouteResult Constructor (String, RouteValueDictionary, Boolean)

Initializes a new instance of the RedirectToRouteResult class by using the specified route name, route values, and permanent-redirection flag.

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

public function RedirectToRouteResult(
	routeName : String, 
	routeValues : RouteValueDictionary, 
	permanent : boolean
)

Parameters

routeName
Type: System.String

The name of the route.

routeValues
Type: System.Web.Routing.RouteValueDictionary

The route values.

permanent
Type: System.Boolean

A value that indicates whether the redirection should be permanent.

Show: