Method | Description | |
---|---|---|
WindowsService ( |
Initializes a new instance of the WindowsService class.
|
Method | Description | |
---|---|---|
OnStart ( string args ) : void |
Starts the server in a background thread.
|
|
OnStop ( ) : void |
Stops the server so the service can shutdown.
|
Method | Description | |
---|---|---|
OnBackgroundStart ( object state ) : void |
Runs the service in a background thread.
|
public WindowsService ( |
||
server | The server. | |
configSectionName | string | Name of the config section. |
applicationType | ApplicationType | Type of the application. |
configurationType | Type of the configuration. | |
return | System |