ClearError Method

HttpServerUtility.ClearError Method ()

 

Clears the previous exception.

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

public void ClearError()

The following example clears the last exception that was thrown.

Server.ClearError();

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft