Windows 事件重設
Microsoft.Windows.RepeatedEventLogSingleEventLog2StateMonitorType (UnitMonitorType)
雙狀態監視,與重複事件及一般事件有關聯。
Element properties:
Member Modules:
Source Code:
<UnitMonitorType ID="Microsoft.Windows.RepeatedEventLogSingleEventLog2StateMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="RepeatedEventRaised"/>
<MonitorTypeState ID="EventRaised"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="ComputerName" type="xsd:string"/>
<xsd:element name="LogName" type="xsd:string"/>
<xsd:element name="Expression" type="ExpressionType"/>
<xsd:element name="RepeatedComputerName" type="xsd:string"/>
<xsd:element name="RepeatedLogName" type="xsd:string"/>
<xsd:element name="RepeatedExpression" type="ExpressionType"/>
<xsd:element name="Consolidator" type="ConsolidatorType"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="Microsoft.Windows.BaseEventProvider" ID="DataSource">
<ComputerName>$Config/ComputerName$</ComputerName>
<LogName>$Config/LogName$</LogName>
</DataSource>
<DataSource TypeID="Microsoft.Windows.BaseEventProvider" ID="RepeatedDataSource">
<ComputerName>$Config/RepeatedComputerName$</ComputerName>
<LogName>$Config/RepeatedLogName$</LogName>
</DataSource>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="FilterCondition">
<Expression>$Config/Expression$</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="RepeatedFilterCondition">
<Expression>$Config/RepeatedExpression$</Expression>
</ConditionDetection>
<ConditionDetection TypeID="System!System.ConsolidatorCondition" ID="RepeatedDataCondition">
<Consolidator>$Config/Consolidator$</Consolidator>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="RepeatedEventRaised">
<Node ID="RepeatedDataCondition">
<Node ID="RepeatedFilterCondition">
<Node ID="RepeatedDataSource"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="EventRaised">
<Node ID="FilterCondition">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>