Controller.RedirectToActionPermanent Method

Definition

Overloads

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.

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

The action name.

controllerName
String

The controller name.

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

Applies to

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

The action name.

routeValues
RouteValueDictionary

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.

Applies to

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

The action name.

controllerName
String

The controller name.

routeValues
RouteValueDictionary

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.

Applies to

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

The action name.

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

Applies to

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

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.

Applies to

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

The action name.

controllerName
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