 | TaskSettingsDeleteExpiredTaskAfter Property |
Gets or sets the amount of time that the Task Scheduler will wait before deleting the task after it expires. If no value is
specified for this property, then the Task Scheduler service will not delete the task.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic TimeSpan DeleteExpiredTaskAfter { get; set; }
Public Property DeleteExpiredTaskAfter As TimeSpan
Get
Set
public:
property TimeSpan DeleteExpiredTaskAfter {
TimeSpan get ();
void set (TimeSpan value);
}
Request Example
View SourceProperty Value
Type:
TimeSpan
Gets and sets the amount of time that the Task Scheduler will wait before deleting the task after it expires. A TimeSpan value
of 1 second indicates the task is set to delete when done. A value of TimeSpan.Zero indicates that the task should not be deleted.
Remarks
A task expires after the end boundary has been exceeded for all triggers associated with the task. The end boundary for a
trigger is specified by the EndBoundary property of all trigger types.
See Also