HttpServerUtility.ClearError Method
This page is specific to:.NET Framework Version:1.12.03.03.54.0
.NET Framework Class Library
HttpServerUtility.ClearError Method

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

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View