RedirectToActionResult Class

Syntax

public class RedirectToActionResult : ActionResult, IActionResult

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.RedirectToActionResult

Constructors

RedirectToActionResult(System.String, System.String, System.Collections.Generic.IDictionary<System.String, System.Object>)
Arguments:
  • actionName (System.String) –
  • controllerName (System.String) –
  • routeValues (System.Collections.Generic.IDictionary{System.String,System.Object}) –
public RedirectToActionResult(string actionName, string controllerName, IDictionary<string, object> routeValues)
RedirectToActionResult(System.String, System.String, System.Collections.Generic.IDictionary<System.String, System.Object>, System.Boolean)
Arguments:
  • actionName (System.String) –
  • controllerName (System.String) –
  • routeValues (System.Collections.Generic.IDictionary{System.String,System.Object}) –
  • permanent (System.Boolean) –
public RedirectToActionResult(string actionName, string controllerName, IDictionary<string, object> routeValues, bool permanent)

Properties

ActionName()
Return type:System.String
public string ActionName { get; set; }
ControllerName()
Return type:System.String
public string ControllerName { get; set; }
Permanent()
Return type:System.Boolean
public bool Permanent { get; set; }
RouteValues()
Return type:System.Collections.Generic.IDictionary{System.String,System.Object}
public IDictionary<string, object> RouteValues { get; set; }
UrlHelper()
Return type:Microsoft.AspNet.Mvc.IUrlHelper
public IUrlHelper UrlHelper { get; set; }

Methods

ExecuteResult(Microsoft.AspNet.Mvc.ActionContext)
Arguments:
public override void ExecuteResult(ActionContext context)