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()
   

適用於

另請參閱