Partager via


NumberOfRuns

Applies To: Windows 8, Windows 8.1

Indicates the number of times that an on-off transition is run.

Element Hierarchy

<WindowsPerformanceRecorder>
     <OnOffTransitionConfigurations>
          <OnOffTransitionConfiguration>
               <NumberOfRuns>

Syntax

<NumberOfRuns Value = SimpleValueType>
</NumberOfRuns>

Attributes and Elements

Attributes

Attribute Description Data type Required Default

Value

Number of times the on/off transition is run.

Integer value equal to or greater than 1.

Yes

Child Elements

None.

Parent Elements

Element Description

OnOffTransitionConfiguration

Represents on on/off transition configuration.

Example

The following code example shows how to configure this element.

<OnOffTransitionConfiguration
  Id="OnOffTransitionConfiguration_Default_Boot"
  Name="OnOffTransitionConfiguration_Default_Boot"
  Type="On/Off - Boot">
  <PrepareSystem Value="true"/>
  <NumberOfRuns Value="3"/>
  <PostBootDelay Value="120"/>
  <WakeupDelay Value="60"/>
  <TransitionTag Value="Boot"/>
</OnOffTransitionConfiguration>

See Also

Other Resources

Elements