事件監視 - 具有「計時器」的關聯事件
Microsoft.Windows.WmiProvider.CorrelatedEventTimer2StateMonitorType (UnitMonitorType)
雙狀態監視,與關聯事件及計時器有關聯。
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="Microsoft.Windows.WmiProvider.CorrelatedEventTimer2StateMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="CorrelatedEventRaised"/>
<MonitorTypeState ID="TimerEventRaised"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="FirstCorrelatedNameSpace" type="xsd:string"/>
<xsd:element name="FirstCorrelatedQuery" type="xsd:string"/>
<xsd:element name="FirstCorrelatedFrequency" type="xsd:integer"/>
<xsd:element name="FirstCorrelatedExpression" type="ExpressionType"/>
<xsd:element name="SecondCorrelatedNameSpace" type="xsd:string"/>
<xsd:element name="SecondCorrelatedQuery" type="xsd:string"/>
<xsd:element name="SecondCorrelatedFrequency" type="xsd:integer"/>
<xsd:element name="SecondCorrelatedExpression" type="ExpressionType"/>
<xsd:element name="Correlator" type="CorrelatorType"/>
<xsd:element name="TimerWaitInSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="FirstCorrelatedFrequency" Selector="$Config/FirstCorrelatedFrequency$" ParameterType="int"/>
<OverrideableParameter ID="SecondCorrelatedFrequency" Selector="$Config/SecondCorrelatedFrequency$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="Microsoft.Windows.WmiProvider" ID="FirstCorrelatedDataSource">
<NameSpace>$Config/FirstCorrelatedNameSpace$</NameSpace>
<Query>$Config/FirstCorrelatedQuery$</Query>
<Frequency>$Config/FirstCorrelatedFrequency$</Frequency>
</DataSource>
<DataSource TypeID="Microsoft.Windows.WmiProvider" ID="SecondCorrelatedDataSource">
<NameSpace>$Config/SecondCorrelatedNameSpace$</NameSpace>
<Query>$Config/SecondCorrelatedQuery$</Query>
<Frequency>$Config/SecondCorrelatedFrequency$</Frequency>
</DataSource>
<ProbeAction TypeID="System!System.PassThroughProbe" ID="OnDemandReset"/>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="FirstCorrelatedFilterCondition">
<Expression>$Config/FirstCorrelatedExpression$</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="SecondCorrelatedFilterCondition">
<Expression>$Config/SecondCorrelatedExpression$</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.CorrelatorAutoCondition" ID="CorrelatedDataCondition">
<Correlator>$Config/Correlator$</Correlator>
</ConditionDetection>
<ConditionDetection TypeID="System!System.TimerCondition" ID="TimerCondition">
<TimerWaitInSeconds>$Config/TimerWaitInSeconds$</TimerWaitInSeconds>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="CorrelatedEventRaised">
<Node ID="CorrelatedDataCondition">
<Node ID="FirstCorrelatedFilterCondition">
<Node ID="FirstCorrelatedDataSource"/>
</Node>
<Node ID="SecondCorrelatedFilterCondition">
<Node ID="SecondCorrelatedDataSource"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="TimerEventRaised">
<Node ID="TimerCondition">
<Node ID="CorrelatedDataCondition">
<Node ID="FirstCorrelatedFilterCondition">
<Node ID="FirstCorrelatedDataSource"/>
</Node>
<Node ID="SecondCorrelatedFilterCondition">
<Node ID="SecondCorrelatedDataSource"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="TimerEventRaised">
<Node ID="OnDemandReset"/>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>