RedirectResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |
Initializes a new instance of the RedirectResult class. |
RedirectResult(String, Boolean) |
Initializes a new instance of the RedirectResult class using the specified URL and permanent-redirection flag. |
Properties
Permanent |
Gets a value that indicates whether the redirection should be permanent. |
Url |
Gets or sets the target URL. |
Methods
ExecuteResult(ControllerContext) |
Enables processing of the result of an action method by a custom type that inherits from the ActionResult class. |