System.Win.ComServ.TLastReleaseEvent
C++
typedef void __fastcall (__closure *TLastReleaseEvent)(bool &Shutdown);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| typedef | public | System.Win.ComServ.hpp | System.Win.ComServ | System.Win.ComServ |
Description
Type of event handler for the TComServer.OnLastRelease event.
The value that Shutdown has at the start of the event handler determines the action that is going to take place:
- If
Shutdownistrue, the server is going to shutdown. - If
Shutdownisfalse, the server is going to keep running.
Your event handler can change the value of Shutdown to either prevent or force the shutdown of the server.