TemplateParser.ProcessException(Exception) 方法

定義

建立新 ParserError 物件,做為指定的 Exception 例外狀況,並將它加入至 ParserErrorCollection 集合,以報告剖析器錯誤。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 void ProcessException(Exception ^ ex);
protected void ProcessException (Exception ex);
member this.ProcessException : Exception -> unit
Protected Sub ProcessException (ex As Exception)

參數

ex
Exception

用來建立新 ExceptionParserError

例外狀況

要處理的 Exception 是編譯器錯誤。

適用於

另請參閱