Universal Windows Service Class Library

Service.OnStop Method 

This function stop the working thread of the service.

protected override void OnStop();

Remarks

The function tell Scheduler to stop working.

See Also

Service Class | uws Namespace | Scheduler