C# Class KeepAliveBackgroundTaskBase, TabMigrate

Base class for "keep alive" work that runs in a background interval
Afficher le fichier Open project: tableau/TabMigrate Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( ) : void

Set the background task running

ExitAsync ( ) : void

Signals that the keep alive thread should go away

KeepAliveBackgroundTaskBase ( TimeSpan keepAliveInterval ) : System

Constructor

Méthodes protégées

Méthode Description
PerformKeepAliveTask ( ) : void

Inhereting classes must implement this method. It is the work that needs to be performed to keep us alive

Private Methods

Méthode Description
StartThreadHere ( ) : void

Thread entry point

Method Details

Execute() public méthode

Set the background task running
public Execute ( ) : void
Résultat void

ExitAsync() public méthode

Signals that the keep alive thread should go away
public ExitAsync ( ) : void
Résultat void

KeepAliveBackgroundTaskBase() public méthode

Constructor
public KeepAliveBackgroundTaskBase ( TimeSpan keepAliveInterval ) : System
keepAliveInterval TimeSpan
Résultat System

PerformKeepAliveTask() protected abstract méthode

Inhereting classes must implement this method. It is the work that needs to be performed to keep us alive
protected abstract PerformKeepAliveTask ( ) : void
Résultat void