Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a trigger that starts a task when the system is started.
Inheritance
The IBootTrigger interface inherits from the ITrigger interface.
Methods
The IBootTrigger interface has these methods.
| IBootTrigger::get_Delay Gets or sets a value that indicates the amount of time between when the system is booted and when the task is started. (Get) |
| IBootTrigger::put_Delay Gets or sets a value that indicates the amount of time between when the system is booted and when the task is started. (Put) |
Remarks
The Task Scheduler service is started when the operating system is booted, and boot trigger tasks are set to start when the Task Scheduler service starts.
Only a member of the Administrators group can create a task with a boot trigger.
When creating your own XML for a task, a boot trigger is specified using the BootTrigger element of the Task Scheduler schema.
Examples
For more information and example code for this interface, see Boot Trigger Example (C++).
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | taskschd.h |