C# Класс Opc.Ua.Configuration.ApplicationInstance.WindowsService

Manages the interface between the UA server and the Windows SCM.
Наследование: System.ServiceProcess.ServiceBase
Показать файл Открыть проект

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

Метод Описание
WindowsService ( ServerBase server, string configSectionName, ApplicationType applicationType, Type configurationType ) : System

Initializes a new instance of the WindowsService class.

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

Метод Описание
OnStart ( string args ) : void

Starts the server in a background thread.

OnStop ( ) : void

Stops the server so the service can shutdown.

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

Метод Описание
OnBackgroundStart ( object state ) : void

Runs the service in a background thread.

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

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

Starts the server in a background thread.
protected OnStart ( string args ) : void
args string
Результат void

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

Stops the server so the service can shutdown.
protected OnStop ( ) : void
Результат void

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

Initializes a new instance of the WindowsService class.
public WindowsService ( ServerBase server, string configSectionName, ApplicationType applicationType, Type configurationType ) : System
server Opc.Ua.ServerBase The server.
configSectionName string Name of the config section.
applicationType ApplicationType Type of the application.
configurationType System.Type Type of the configuration.
Результат System