 | TaskSettingsRestartInterval Property |
Gets or sets a value that specifies how long the Task Scheduler will attempt to restart the task.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic TimeSpan RestartInterval { get; set; }
Public Property RestartInterval As TimeSpan
Get
Set
public:
property TimeSpan RestartInterval {
TimeSpan get ();
void set (TimeSpan value);
}
Request Example
View SourceProperty Value
Type:
TimeSpan
A value that specifies how long the Task Scheduler will attempt to restart the task. If this property is set, the
RestartCount property must also be set. The maximum time allowed is 31 days, and the minimum time allowed is 1 minute.
Exceptions
See Also