C# 클래스 Opc.Ua.Configuration.ApplicationInstance.WindowsService

Manages the interface between the UA server and the Windows SCM.
상속: System.ServiceProcess.ServiceBase
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET

공개 메소드들

메소드 설명
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