TemplateParser.ProcessError(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过创建具有指定消息的新 ParserError 对象并将其添加到 ParserErrorCollection 集合来报告进程错误。
此 API 支持产品基础结构,不能在代码中直接使用。
protected:
void ProcessError(System::String ^ message);
protected void ProcessError(string message);
member this.ProcessError : string -> unit
Protected Sub ProcessError (message As String)
参数
- message
- String
用于新建 ParserError的错误消息文本。