Export (0) Print
Expand All

RedirectResult Constructor

.NET Framework 4

Initializes a new instance of the RedirectResult class.

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

public RedirectResult(
	string url
)

Parameters

url
Type: System.String
The target URL.

ExceptionCondition
ArgumentNullException

The url parameter is null.

Community Additions

ADD
Show:
© 2014 Microsoft