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 function RedirectResult(
	url : String
)

Parameters

url
Type: System.String
The target URL.

ExceptionCondition
ArgumentNullException

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

Show:
© 2014 Microsoft