Universal Windows Service Class Library

Scheduler.OnStopWork Method 

The function tells the scheduler to stop it's work.

public void OnStopWork();


This function whould be called from another thread to tell the working thread that it stop working. The function sets a flag which marks the end of work.

It would be called from the OnStop method which receives the stop command from windows service management.

See Also

Scheduler Class | uws Namespace | Service