RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TService.AllowPause Property

Indicates whether clients are allowed to pause the service.

Pascal
property AllowPause: Boolean;
C++
__property Boolean AllowPause;

AllowPause indicates whether clients of the service can pause and resume the service by calling the Windows API ControlService function. When AllowPause is true, an OnPause event occurs before the service pauses, and an OnContinue event occurs when the service resumes. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!