ServiceApplication.Pause

From Xojo Documentation

Event


ServiceApplication.Pause()

Supported for all project types and targets.

Occurs when the user selects Pause from the Service Control Manager on Windows.

Notes

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.