C# Класс Stumps.StumpsService

Показать файл Открыть проект

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

Метод Описание
StumpsService ( StumpsConfiguration configuration ) : System

Initializes a new instance of the T:Stumps.StumpsService class.

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

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

Clean up any resources being used.

OnStart ( string args ) : void

Executes when a Start command is sent to the service by the Service Control Manager (SCM) or when the operating system starts (for a service that starts automatically). Specifies actions to take when the service starts.

OnStop ( ) : void

Executes when a Stop command is sent to the service by the Service Control Manager (SCM). Specifies actions to take when a service stops running.

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

Метод Описание
InitializeComponent ( ) : void

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

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

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() защищенный Метод

Executes when a Start command is sent to the service by the Service Control Manager (SCM) or when the operating system starts (for a service that starts automatically). Specifies actions to take when the service starts.
protected OnStart ( string args ) : void
args string Data passed by the start command.
Результат void

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

Executes when a Stop command is sent to the service by the Service Control Manager (SCM). Specifies actions to take when a service stops running.
protected OnStop ( ) : void
Результат void

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

Initializes a new instance of the T:Stumps.StumpsService class.
is null.
public StumpsService ( StumpsConfiguration configuration ) : System
configuration StumpsConfiguration The configuration.
Результат System