Export (0) Print
Expand All
Expand Minimize

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

ElementDerived fromDescription
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

See also

Task Scheduler Schema Elements

 

 

Community Additions

ADD
Show:
© 2014 Microsoft