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

Exception用于创建新的 ParserError

例外

处理 Exception 是编译器错误。

适用于

另请参阅