RedirectResult Constructor (String, Boolean)

Initializes a new instance of the RedirectResult class using the specified URL and permanent-redirection flag.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

new : 
        url:string * 
        permanent:bool -> RedirectResult

Parameters

url
Type: System.String
The URL.
permanent
Type: System.Boolean
A value that indicates whether the redirection should be permanent.
Show: