From Xojo Documentation
| This event is only available on the Windows platform.
For cross-platform compatibility, use ＃If...＃Endif with the Target... specifiers to make sure you will not attempt to use this event on an incompatible platform.
Occurs when the user selects Pause from the Service Control Manager on Windows.
When the user selects Pause, he expects the service to stop performing whatever action it was doing. It should continue to halt execution until the Resume event is fired.