Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft