C# Класс Candor.Tasks.WorkerRoleTask

The base (partial) implemenation for a Worker Role.
Наследование: System.Configuration.Provider.ProviderBase
Показать файл Открыть проект

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

Метод Описание
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.

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

OnStart() публичный абстрактный Метод

Starts this worker roles work loop, typically with a timer, and then returns immediately.
public abstract OnStart ( ) : void
Результат void

OnStop() публичный абстрактный Метод

Stops the work loop and then returns when complete. Expect the process to terminate potentially immediately after this method returns.
public abstract OnStop ( ) : void
Результат void

Ping() публичный абстрактный Метод

Pings the task to ensure it is working properly.
public abstract Ping ( ) : void
Результат void