语言

MonitorThreshold.ShouldAlert 属性

定义

当指标超过阈值时,是否生成警报,并设置。

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

属性值

一个Boolean值。 如果 为真,超过阈值会触发警报。 如果 错误,超过阈值时不会触发警报。

注解

该命名空间、类或成员仅在Microsoft .NET框架2.0版本中支持。

适用于