计时器重置重复事件监视器类型
Microsoft.SharePoint.Library.RepeatedEventLogTimer2StateMonitorType (UnitMonitorType)
这是两个状态的计时器重置重复事件监视器类型。
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="Microsoft.SharePoint.Library.RepeatedEventLogTimer2StateMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="RepeatedEventRaised" NoDetection="false"/>
<MonitorTypeState ID="TimerEventRaised" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RepeatedComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RepeatedLogName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RepeatedExpression" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Interval" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Count" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimerWaitInSeconds" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Interval" Selector="$Config/Interval$" ParameterType="int"/>
<OverrideableParameter ID="Count" Selector="$Config/Count$" ParameterType="int"/>
<OverrideableParameter ID="TimerWaitInSeconds" Selector="$Config/TimerWaitInSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="RepeatedDataSource" TypeID="Windows!Microsoft.Windows.BaseEventProvider">
<ComputerName>$Config/RepeatedComputerName$</ComputerName>
<LogName>$Config/RepeatedLogName$</LogName>
</DataSource>
<ConditionDetection ID="RepeatedFilterCondition" TypeID="System!System.ExpressionFilter">
<Expression>$Config/RepeatedExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="RepeatedDataCondition" TypeID="System!System.ConsolidatorCondition">
<Consolidator>
<ConsolidationProperties/>
<TimeControl>
<WithinTimeSchedule>
<Interval>$Config/Interval$</Interval>
</WithinTimeSchedule>
</TimeControl>
<CountingCondition>
<Count>$Config/Count$</Count>
<CountMode>OnNewItemTestOutputRestart_OnTimerRestart</CountMode>
</CountingCondition>
</Consolidator>
</ConditionDetection>
<ConditionDetection ID="TimerCondition" TypeID="System!System.TimerCondition">
<TimerWaitInSeconds>$Config/TimerWaitInSeconds$</TimerWaitInSeconds>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="RepeatedEventRaised">
<Node ID="RepeatedDataCondition">
<Node ID="RepeatedFilterCondition">
<Node ID="RepeatedDataSource"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="TimerEventRaised">
<Node ID="TimerCondition">
<Node ID="RepeatedDataCondition">
<Node ID="RepeatedFilterCondition">
<Node ID="RepeatedDataSource"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>