Share via


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);

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);

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);

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);

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);

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);

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