Universal Windows Service Class Library

Scheduler.OnShutdownWork Method 

The function tells the scheduler that computer is shutting down.

public void OnShutdownWork();


Due to the OnStopWork function this one tells the working thread that it has to stop it's work because computer is shutting down.

It would be called from the OnShutdown method which receives the shutdown event from windows service management.

See Also

Scheduler Class | uws Namespace | Service