EventLogQuery.TolerateQueryErrors 属性

定义

获取或设置一个布尔值,该值确定当查询出错时,此查询是否会继续检索事件。

public:
 property bool TolerateQueryErrors { bool get(); void set(bool value); };
public bool TolerateQueryErrors { get; set; }
member this.TolerateQueryErrors : bool with get, set
Public Property TolerateQueryErrors As Boolean

属性值

true 指示查询将继续检索事件,即使某些日志的查询失败,并且 false 指示查询失败时,此查询不会继续检索事件。

适用于