C# Class Tp.Integration.Ide.VisualStudio.Services.IdleTracker

Monitors when a user is idle, i.e he/she does not use computer, i.e. when screen saver is running, or when desktop is locked, or when keyboard or mouse is not used for some time.
Inheritance: IDisposable
Afficher le fichier Open project: TargetProcess/Tp.Integration.Ide.VisualStudio

Méthodes publiques

Méthode Description
Dispose ( ) : void
Dispose ( bool disposing ) : void
IdleTracker ( int pollInterval, int notifyInterval ) : System

Creates new IdleTracker instance.

Private Methods

Méthode Description
TimerElapsed ( object sender, System.Timers.ElapsedEventArgs ev ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( bool disposing ) : void
disposing bool
Résultat void

IdleTracker() public méthode

Creates new IdleTracker instance.
If poll interval is greater than notify interval.
public IdleTracker ( int pollInterval, int notifyInterval ) : System
pollInterval int Poll interval in seconds.
notifyInterval int User idle time interval in seconds.
Résultat System