Vcl.SvcMgr.TService.WaitHint
Delphi
property WaitHint: Integer read FWaitHint write FWaitHint default 5000;
C++
__property int WaitHint = {read=FWaitHint, write=FWaitHint, default=5000};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.SvcMgr.pas Vcl.SvcMgr.hpp |
Vcl.SvcMgr | TService |
Description
Specifies the estimated time, in milliseconds, between a call from the Windows Service Control Manager and the service reporting its status.
WaitHint specifies the amount of time, in milliseconds, that can elapse between a pending start, stop, pause, or continue operation and the service setting its status with a call to the Windows API. Normally this is handled automatically. If the service performs a lengthy operation of more than WaitHint time in one of its event handlers, you should call ReportStatus method to update to the Service Control Manager.