我已经定义了 CheckNTServiceStateMonitorType 类型的 UnitMonitor。此 Monitor 的 AlertSeverity 取决于被监视类的属性,因此是动态指定的。但是,II 找不到动态设置 AlertSeverity 的方法。为实例:
<AlertSettings>
<AlertSeverity>
$Target/Property[MyMonitoredClass]/AlertSeverity$
<AlertSeverity>
</AlertSettings>
有没有办法做到这一点?