手動重設
Microsoft.Windows.WmiEventProvider.MissingEventManualReset2StateMonitorType (UnitMonitorType)
雙狀態監視,遺失事件狀態及手動重設狀態。
Element properties:
Member Modules:
Source Code:
<UnitMonitorType ID="Microsoft.Windows.WmiEventProvider.MissingEventManualReset2StateMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="MissingEventRaised"/>
<MonitorTypeState ID="ManualResetEventRaised" NoDetection="true"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="MissingNameSpace" type="xsd:string"/>
<xsd:element name="MissingQuery" type="xsd:string"/>
<xsd:element name="MissingPollInterval" type="xsd:integer"/>
<xsd:element name="MissingExpression" type="ExpressionType"/>
<xsd:element name="Consolidator" type="ConsolidatorType"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="Microsoft.Windows.WmiEventProvider" ID="MissingDataSource">
<NameSpace>$Config/MissingNameSpace$</NameSpace>
<Query>$Config/MissingQuery$</Query>
<PollInterval>$Config/MissingPollInterval$</PollInterval>
</DataSource>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="MissingFilterCondition">
<Expression>$Config/MissingExpression$</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.MissingConsolidatorCondition" ID="MissingDataCondition">
<Consolidator>$Config/Consolidator$</Consolidator>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">Count</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="MissingEventRaised">
<Node ID="MissingDataCondition">
<Node ID="MissingFilterCondition">
<Node ID="MissingDataSource"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>