Controller.RedirectToActionPermanent Controller.RedirectToActionPermanent Controller.RedirectToActionPermanent Method

Definition

Overloads

RedirectToActionPermanent(String, String, Object) RedirectToActionPermanent(String, String, Object) 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) RedirectToActionPermanent(String, RouteValueDictionary) 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) RedirectToActionPermanent(String, String, RouteValueDictionary) 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) RedirectToActionPermanent(String, Object) 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) RedirectToActionPermanent(String) RedirectToActionPermanent(String)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified action name.

RedirectToActionPermanent(String, String) RedirectToActionPermanent(String, String) 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.

RedirectToActionPermanent(String, String, Object) RedirectToActionPermanent(String, String, Object) 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.

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

Parameters

actionName
String String String

The action name.

controllerName
String String String

The controller name.

routeValues
Object Object Object

The route values.

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) RedirectToActionPermanent(String, RouteValueDictionary) 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.

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

Parameters

actionName
String String String

The action name.

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) RedirectToActionPermanent(String, String, RouteValueDictionary) 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.

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

Parameters

actionName
String String String

The action name.

controllerName
String String String

The 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.

RedirectToActionPermanent(String, Object) RedirectToActionPermanent(String, Object) 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.

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

Parameters

actionName
String String String

The action name.

routeValues
Object Object Object

The route values.

Returns

An instance of the RedirectResult class with the Permanent property set to true using the specified action name, and route values.

RedirectToActionPermanent(String) RedirectToActionPermanent(String) RedirectToActionPermanent(String)

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

Parameters

actionName
String String String

The action 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.

RedirectToActionPermanent(String, String) RedirectToActionPermanent(String, String) 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.

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

Parameters

actionName
String String String

The action name.

controllerName
String String String

The controller name.

Returns

An instance of the RedirectResult class with the Permanent property set to true using the specified action name, and controller name.

Applies to