Universal Windows Service Class Library

Scheduler.OnCustomCommand Method 

The function receives custom command messages changing behaviour of the scheduler.

public void OnCustomCommand(
   int command


Containing the custom command message.


The function tells the scheduler what to do. Different commands are possible e.g. the reload command which forces the service to reload configuration settings. For more informations see CustomCommand enum.

It would be called from the OnCustomCommand method which receives the custom command from windows service management.

See Also

Scheduler Class | uws Namespace | Service | CustomCommand