Universal Windows Service Class Library

Application.OnStopWork Method 

The function tells the application working thread 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 Remove method which delete the application from working list after stop event from Scheduler was received.

See Also

Application Class | uws Namespace | ApplicationList | Scheduler