Vcl.SvcMgr.TService.OnStop
Delphi
property OnStop: TStopEvent read FOnStop write SetOnStop;
C++
__property TStopEvent OnStop = {read=FOnStop, write=SetOnStop};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.SvcMgr.pas Vcl.SvcMgr.hpp |
Vcl.SvcMgr | TService |
Description
Occurs when the Service Control manager stops the service.
Write an OnStop event handler to take specific action when the service stops.