WindowSessionEndEvent Type
Unfortunately, Windows does not offer a way to differentiate between a shutdown and a reboot, meaning the 'shutdown' reason is triggered in both scenarios. For more details on the WM_ENDSESSION message and its associated reasons, refer to the MSDN documentation.
Constructors
| Constructor |
Description
|
Full Usage:
WindowSessionEndEvent(reasons)
Parameters:
Reasons[]
-
List of reasons for shutdown. Can be 'shutdown', 'close-app', 'critical', or 'logoff'.
Returns: WindowSessionEndEvent
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.reasons
|
List of reasons for shutdown. Can be 'shutdown', 'close-app', 'critical', or 'logoff'. |
fable-electron-docs-api