TaskSettingsAllowHardTerminate Property

Gets or sets a Boolean value that indicates that the task may be terminated by using TerminateProcess.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
[DefaultValueAttribute(true)]
[XmlIgnoreAttribute]
public bool AllowHardTerminate { get; set; }

Property Value

Boolean

Exceptions

NotV1SupportedExceptionNot supported under Task Scheduler 1.0.

See Also