Universal Windows Service Class Library

Service.OnStart Method 

This function start a new working thread for the service.

protected override void OnStart(
   string[] args


A list of given command line arguments which will be set from windows service management.


A new instance of the Scheduler class will be created and a new working thread with the ThreadMain method will be started.

See Also

Service Class | uws Namespace | Scheduler