Freigeben über


RedirectResult Constructor

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 _
)
public RedirectResult(
    string url
)
public:
RedirectResult(
    String^ url
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

RedirectResult Class

System.Web.Mvc Namespace