HttpResponseBase.Redirect Method (String, Boolean)

 

Redirects a request to the specified URL and specifies whether execution of the current process should terminate.

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

public virtual void Redirect(
	string url,
	bool endResponse
)

Parameters

url
Type: System.String

The target location.

endResponse
Type: System.Boolean

true to terminate the current process.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: