RedirectToRouteResult Class
Represents a result that performs a redirection by using the specified route values dictionary.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The RedirectToRouteResult type exposes the following members.
| Name | Description | |
|---|---|---|
|
RedirectToRouteResult(RouteValueDictionary) | Initializes a new instance of the RedirectToRouteResult class by using the specified route values. |
|
RedirectToRouteResult(String, RouteValueDictionary) | Initializes a new instance of the RedirectToRouteResult class by using the specified route name and route values. |
|
RedirectToRouteResult(String, RouteValueDictionary, Boolean) | Initializes a new instance of the RedirectToRouteResult class by using the specified route name, route values, and permanent-redirection flag. |
| Name | Description | |
|---|---|---|
|
Permanent | Gets a value that indicates whether the redirection should be permanent. |
|
RouteName | Gets or sets the name of the route. |
|
RouteValues | Gets or sets the route values. |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
ExecuteResult | Enables processing of the result of an action method by a custom type that inherits from the ActionResult class. (Overrides ActionResult.ExecuteResult(ControllerContext).) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |