C# Class Candor.Tasks.WorkerRoleTask

The base (partial) implemenation for a Worker Role.
Inheritance: System.Configuration.Provider.ProviderBase
Show file Open project: michael-lang/candor-common

Public Methods

Method Description
OnStart ( ) : void

Starts this worker roles work loop, typically with a timer, and then returns immediately.

OnStop ( ) : void

Stops the work loop and then returns when complete. Expect the process to terminate potentially immediately after this method returns.

Ping ( ) : void

Pings the task to ensure it is working properly.

Method Details

OnStart() public abstract method

Starts this worker roles work loop, typically with a timer, and then returns immediately.
public abstract OnStart ( ) : void
return void

OnStop() public abstract method

Stops the work loop and then returns when complete. Expect the process to terminate potentially immediately after this method returns.
public abstract OnStop ( ) : void
return void

Ping() public abstract method

Pings the task to ensure it is working properly.
public abstract Ping ( ) : void
return void