RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TService.WaitHint Property

Specifies the estimated time, in milliseconds, between a call from the Windows Service Control Manager and the service reporting its status.

Pascal
property WaitHint: Integer;
C++
__property int WaitHint;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!