Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
RedirectToActionPermanent(String, String, Object) |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values. |
RedirectToActionPermanent(String, RouteValueDictionary) |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values. |
RedirectToActionPermanent(String, String, RouteValueDictionary) |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values. |
RedirectToActionPermanent(String, Object) |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values. |
RedirectToActionPermanent(String) |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name. |
RedirectToActionPermanent(String, String) |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and controller name. |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values.
protected internal System.Web.Mvc.RedirectToRouteResult RedirectToActionPermanent(string actionName, string controllerName, object routeValues);
member this.RedirectToActionPermanent : string * string * obj -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Function RedirectToActionPermanent (actionName As String, controllerName As String, routeValues As Object) As RedirectToRouteResult
The action name.
The controller name.
The route values.
An instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values.
Product | Versions |
---|---|
ASP.NET MVC | 5.2 |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values.
protected internal System.Web.Mvc.RedirectToRouteResult RedirectToActionPermanent(string actionName, System.Web.Routing.RouteValueDictionary routeValues);
member this.RedirectToActionPermanent : string * System.Web.Routing.RouteValueDictionary -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Function RedirectToActionPermanent (actionName As String, routeValues As RouteValueDictionary) As RedirectToRouteResult
The action name.
The route values.
An instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values.
Product | Versions |
---|---|
ASP.NET MVC | 5.2 |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values.
protected internal virtual System.Web.Mvc.RedirectToRouteResult RedirectToActionPermanent(string actionName, string controllerName, System.Web.Routing.RouteValueDictionary routeValues);
abstract member RedirectToActionPermanent : string * string * System.Web.Routing.RouteValueDictionary -> System.Web.Mvc.RedirectToRouteResult
override this.RedirectToActionPermanent : string * string * System.Web.Routing.RouteValueDictionary -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Overridable Function RedirectToActionPermanent (actionName As String, controllerName As String, routeValues As RouteValueDictionary) As RedirectToRouteResult
The action name.
The controller name.
The route values.
An instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values.
Product | Versions |
---|---|
ASP.NET MVC | 5.2 |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values.
protected internal System.Web.Mvc.RedirectToRouteResult RedirectToActionPermanent(string actionName, object routeValues);
member this.RedirectToActionPermanent : string * obj -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Function RedirectToActionPermanent (actionName As String, routeValues As Object) As RedirectToRouteResult
The action name.
The route values.
An instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values.
Product | Versions |
---|---|
ASP.NET MVC | 5.2 |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name.
protected internal System.Web.Mvc.RedirectToRouteResult RedirectToActionPermanent(string actionName);
member this.RedirectToActionPermanent : string -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Function RedirectToActionPermanent (actionName As String) As RedirectToRouteResult
The action name.
An instance of the RedirectResult class with the Permanent property set to true using the specified action name, controller name, and route values.
Product | Versions |
---|---|
ASP.NET MVC | 5.2 |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name, and controller name.
protected internal System.Web.Mvc.RedirectToRouteResult RedirectToActionPermanent(string actionName, string controllerName);
member this.RedirectToActionPermanent : string * string -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Function RedirectToActionPermanent (actionName As String, controllerName As String) As RedirectToRouteResult
The action name.
The controller name.
An instance of the RedirectResult class with the Permanent property set to true using the specified action name, and controller name.
Product | Versions |
---|---|
ASP.NET MVC | 5.2 |
Please sign in to use this experience.
Sign in