 | IdleSettingsIdleDuration Property |
Gets or sets a value that indicates the amount of time that the computer must be in an idle state before the task is run.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic TimeSpan IdleDuration { get; set; }
Public Property IdleDuration As TimeSpan
Get
Set
public:
property TimeSpan IdleDuration {
TimeSpan get ();
void set (TimeSpan value);
}
Request Example
View SourceProperty Value
Type:
TimeSpan
A value that indicates the amount of time that the computer must be in an idle state before the task is run. The minimum value
is one minute. If this value is
TimeSpan.Zero, then the delay will be set to the default of 10 minutes.
See Also