RegistrationTrigger (triggerGroup) Element
Specifies a trigger that starts a task when the task is registered.
<xs:element name="RegistrationTrigger" type="registrationTriggerType" />
The RegistrationTrigger element is defined by the registrationTriggerType complex type.
Specifies the triggers that start the task.
Specifies the amount of time between when the task is registered and when the task is started.
Specifies that the trigger is enabled.
Specifies the date and time when the trigger is deactivated. The trigger cannot start the task after it is deactivated.
Specifies the maximum amount of time in which the task can be started by the trigger.
Specifies how often the task is run and how long the repetition pattern is repeated after the task is started.
Specifies the date and time when the trigger is activated.
Identifier of the trigger.
For scripting development, a registration trigger is specified using the RegistrationTrigger object.
For C++ development, a registration trigger is specified using the IRegistrationTrigger interface.
- StartBoundary (triggerBaseType)
- EndBoundary (triggerBaseType)
- Enabled (triggerBaseType)
- Repetition (triggerBaseType)
- ExecutionTimeLimit (triggerBaseType)
- Delay (registrationTriggerType)
For a complete example of the XML for a task that specifies a boot trigger, see Registration Trigger Example (XML).
Minimum supported client
|Windows Vista [desktop apps only]|
Minimum supported server
|Windows Server 2008 [desktop apps only]|