Export (0) Print
Expand All

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)

'Declaration
Public Sub New ( _
	url As String, _
	permanent As Boolean _
)
'Usage
Dim url As String
Dim permanent As Boolean

Dim instance As New RedirectResult(url, permanent)

Parameters

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