RedirectResult
RedirectResult
RedirectResult
Class
Definition
Controls the processing of application actions by redirecting to a specified URI.
public class RedirectResult : System.Web.Mvc.ActionResult
type RedirectResult = class
inherit ActionResult
Public Class RedirectResult
Inherits ActionResult
- Inheritance
Constructors
RedirectResult(String) RedirectResult(String) RedirectResult(String) |
Initializes a new instance of the RedirectResult class. |
RedirectResult(String, Boolean) RedirectResult(String, Boolean) RedirectResult(String, Boolean) |
Initializes a new instance of the RedirectResult class using the specified URL and permanent-redirection flag. |
Properties
Permanent Permanent Permanent |
Gets a value that indicates whether the redirection should be permanent. |
Url Url Url |
Gets or sets the target URL. |
Methods
ExecuteResult(ControllerContext) ExecuteResult(ControllerContext) ExecuteResult(ControllerContext) |
Enables processing of the result of an action method by a custom type that inherits from the ActionResult class. |