C# Класс 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.
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
Dispose ( ) : void
Dispose ( bool disposing ) : void
IdleTracker ( int pollInterval, int notifyInterval ) : System

Creates new IdleTracker instance.

Приватные методы

Метод Описание
TimerElapsed ( object sender, System.Timers.ElapsedEventArgs ev ) : void

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( bool disposing ) : void
disposing bool
Результат void

IdleTracker() публичный Метод

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.
Результат System