HttpServerUtility.ClearError HttpServerUtility.ClearError HttpServerUtility.ClearError HttpServerUtility.ClearError Method

定义

清除前一个异常。Clears the previous exception.

public:
 void ClearError();
public void ClearError ();
member this.ClearError : unit -> unit
Public Sub ClearError ()

示例

以下示例清除抛出的最后一个异常。The following example clears the last exception that was thrown.

Server.ClearError();
   
Server.ClearError()
   

适用于

另请参阅