RedirectResult Constructor (String)

Initializes a new instance of the RedirectResult class.

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

Syntax

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

Dim instance As New RedirectResult(url)
public RedirectResult(
    string url
)
public:
RedirectResult(
    String^ url
)
public function RedirectResult(
    url : String
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The url parameter is nulla null reference (Nothing in Visual Basic).

See Also

Reference

RedirectResult Class

RedirectResult Overload

System.Web.Mvc Namespace