OnOffTransitionConfiguration

Represents an on/off transition configuration.

Element Hierarchy

Syntax

<OnOffTransitionConfiguration Id = IdType
                              Name = string
                              Type = "On/Off - Boot" | "On/Off - HybridBoot" | "On/Off - Shutdown" | ...>

  <!-- Child elements -->
  PrepareSystem,
  NumberOfRuns,
  PostBootDelay,
  WakeupDelay,
  TransitionTag

</OnOffTransitionConfiguration>

Attributes and Elements

Attributes

Attribute Description Data type Required Default
Id Uniquely identifies the on/off transition configuration. String that must have at least one character and cannot contain colons (:) or spaces. Yes
Name Indicates the name of the configuration. string Yes
Type Indicates the type of on/off transition. This attribute can have one of the following values:
  • On/Off - Boot
  • On/Off - HybridBoot
  • On/Off - Shutdown
  • On/Off - RebootCycle
  • On/Off - Standby/Resume
  • On/Off - Hibernate/Resume
Yes

Child Elements

Element Description Requirement
PrepareSystem Indicates whether to prepare the system for an on/off transition. Required, exactly 1.
NumberOfRuns Indicates the number of runs in the on/off transition. Required, exactly 1.
PostBootDelay Indicates the delay after booting. Optional, zero or 1.
WakeupDelay Indicates the delay when emerging from a sleep state. Optional, zero or 1.
TransitionTag Indicates the transition tag. Optional, zero or 1.

Parent Elements

Element Description
OnOffTransitionConfigurations Represents a collection of on/off transition.

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>

Elements