Vcl.SvcMgr.TService.AllowPause

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AllowPause: Boolean read FAllowPause write FAllowPause default True;

C++

__property bool AllowPause = {read=FAllowPause, write=FAllowPause, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TService

Description

Indicates whether clients are allowed to pause the service.

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.

See Also