Export (0) Print
Expand All

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

Show:
© 2014 Microsoft