AllowHardTerminate (settingsType) Element
Specifies that the task may be terminated using TerminateProcess.
<xs:element name="AllowHardTerminate"
type="boolean"
default="true"
minOccurs="0"
/>
The AllowHardTerminate element is defined by the settingsType complex type.
Parent element
Element | Derived from | Description |
---|---|---|
Settings | taskType | Contains the settings that the Task Scheduler uses to perform the task. |
Remarks
For C++ development, see the AllowHardTerminate property of ITaskSettings.
For script development, see TaskSettings.AllowHardTerminate.
Examples
For a complete example of the XML for a task that allows hard termination, see Time Trigger Example (XML).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |