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 nullptr.

Show:
© 2015 Microsoft