Click or drag to resize
Task Scheduler Managed Class Library

IdleSettings Properties

The IdleSettings type exposes the following members.

Properties
 NameDescription
Public propertyIdleDuration 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.
Public propertyRestartOnIdle Gets or sets a Boolean value that indicates whether the task is restarted when the computer cycles into an idle condition more than once.
Public propertyStopOnIdleEnd Gets or sets a Boolean value that indicates that the Task Scheduler will terminate the task if the idle condition ends before the task is completed.
Public propertyWaitTimeout Gets or sets a value that indicates the amount of time that the Task Scheduler will wait for an idle condition to occur. If no value is specified for this property, then the Task Scheduler service will wait indefinitely for an idle condition to occur.
Top
See Also