Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RedirectResult Constructor (String)

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.

Show:
© 2015 Microsoft