ControllerBase.RedirectToActionPermanent ControllerBase.RedirectToActionPermanent ControllerBase.RedirectToActionPermanent Method

Definition

Overloads

RedirectToActionPermanent(String, String, Object, String) RedirectToActionPermanent(String, String, Object, String) RedirectToActionPermanent(String, String, Object, String)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, routeValues, and fragment.

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

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, and fragment.

RedirectToActionPermanent(String, String, Object) RedirectToActionPermanent(String, String, Object) RedirectToActionPermanent(String, String, Object)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, and routeValues.

RedirectToActionPermanent(String, Object) RedirectToActionPermanent(String, Object) RedirectToActionPermanent(String, Object)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName and routeValues.

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

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName.

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

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName and controllerName.

RedirectToActionPermanent(String, String, Object, String) RedirectToActionPermanent(String, String, Object, String) RedirectToActionPermanent(String, String, Object, String)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, routeValues, and fragment.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToActionResult RedirectToActionPermanent (string actionName, string controllerName, object routeValues, string fragment);
abstract member RedirectToActionPermanent : string * string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
override this.RedirectToActionPermanent : string * string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Overridable Function RedirectToActionPermanent (actionName As String, controllerName As String, routeValues As Object, fragment As String) As RedirectToActionResult

Parameters

actionName
String String String

The name of the action.

controllerName
String String String

The name of the controller.

routeValues
Object Object Object

The parameters for a route.

fragment
String String String

The fragment to add to the URL.

Returns

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

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, and fragment.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToActionResult RedirectToActionPermanent (string actionName, string controllerName, string fragment);
abstract member RedirectToActionPermanent : string * string * string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
override this.RedirectToActionPermanent : string * string * string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Overridable Function RedirectToActionPermanent (actionName As String, controllerName As String, fragment As String) As RedirectToActionResult

Parameters

actionName
String String String

The name of the action.

controllerName
String String String

The name of the controller.

fragment
String String String

The fragment to add to the URL.

Returns

RedirectToActionPermanent(String, String, Object) RedirectToActionPermanent(String, String, Object) RedirectToActionPermanent(String, String, Object)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, and routeValues.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToActionResult RedirectToActionPermanent (string actionName, string controllerName, object routeValues);
abstract member RedirectToActionPermanent : string * string * obj -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
override this.RedirectToActionPermanent : string * string * obj -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Overridable Function RedirectToActionPermanent (actionName As String, controllerName As String, routeValues As Object) As RedirectToActionResult

Parameters

actionName
String String String

The name of the action.

controllerName
String String String

The name of the controller.

routeValues
Object Object Object

The parameters for a route.

Returns

RedirectToActionPermanent(String, Object) RedirectToActionPermanent(String, Object) RedirectToActionPermanent(String, Object)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName and routeValues.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToActionResult RedirectToActionPermanent (string actionName, object routeValues);
abstract member RedirectToActionPermanent : string * obj -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
override this.RedirectToActionPermanent : string * obj -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Overridable Function RedirectToActionPermanent (actionName As String, routeValues As Object) As RedirectToActionResult

Parameters

actionName
String String String

The name of the action.

routeValues
Object Object Object

The parameters for a route.

Returns

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

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToActionResult RedirectToActionPermanent (string actionName);
abstract member RedirectToActionPermanent : string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
override this.RedirectToActionPermanent : string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Overridable Function RedirectToActionPermanent (actionName As String) As RedirectToActionResult

Parameters

actionName
String String String

The name of the action.

Returns

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

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName and controllerName.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.RedirectToActionResult RedirectToActionPermanent (string actionName, string controllerName);
abstract member RedirectToActionPermanent : string * string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
override this.RedirectToActionPermanent : string * string -> Microsoft.AspNetCore.Mvc.RedirectToActionResult
Public Overridable Function RedirectToActionPermanent (actionName As String, controllerName As String) As RedirectToActionResult

Parameters

actionName
String String String

The name of the action.

controllerName
String String String

The name of the controller.

Returns

Applies to