IdleSettings Class

Specifies how the Task Scheduler performs tasks when the computer is in an idle condition. For information about idle conditions, see Task Idle Conditions.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public sealed class IdleSettings : IDisposable, 
	INotifyPropertyChanged
Inheritance
Object    IdleSettings
Implements
INotifyPropertyChanged, IDisposable

Properties

IdleDuration 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.
RestartOnIdle Gets or sets a Boolean value that indicates whether the task is restarted when the computer cycles into an idle condition more than once.
StopOnIdleEnd 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.
WaitTimeout 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.

Methods

DisposeReleases all resources used by this class.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a String that represents this instance.
(Overrides ObjectToString)

Events

PropertyChangedOccurs when a property value changes.

See Also