 | TaskSettingsRestartCount Property |
Gets or sets the number of times that 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 int RestartCount { get; set; }
Public Property RestartCount As Integer
Get
Set
public:
property int RestartCount {
int get ();
void set (int value);
}
Request Example
View SourceProperty Value
Type:
Int32
The number of times that the Task Scheduler will attempt to restart the task. If this property is set, the
RestartInterval property must also be set.
Exceptions
See Also