C# Класс HydraScavengerService.Service

Наследование: System.ServiceProcess.ServiceBase
Показать файл Открыть проект

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

Метод Описание
Service ( ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnStart ( string args ) : void
OnStop ( ) : void

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

Метод Описание
BulkDeleteDoc ( string id, string rev ) : Document
DeleteDocs ( IEnumerable rows, IDocumentDatabase db ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ScavengeByDate ( int deleteBatchSize ) : void
ScavengeByNumber ( int deleteBatchSize ) : void
TimerOnElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

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

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

OnStart() защищенный Метод

protected OnStart ( string args ) : void
args string
Результат void

OnStop() защищенный Метод

protected OnStop ( ) : void
Результат void

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

public Service ( ) : System
Результат System