This documentation is archived and is not being maintained.
HttpServerUtility.ClearError Method
.NET Framework 1.1
Clears the previous exception.
[Visual Basic] Public Sub ClearError() [C#] public void ClearError(); [C++] public: void ClearError(); [JScript] public function ClearError();
Example
The following example clears the last exception that was thrown.
[Visual Basic] Server.ClearError() [C#] Server.ClearError(); [C++] Server->ClearError(); [JScript] Server.ClearError()
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpServerUtility Class | HttpServerUtility Members | System.Web Namespace
Show: