Programming with Reflection
BeforeExit
event
Syntax Private Sub Session_BeforeExit(Continue As Boolean)
This event is triggered before Reflection initiates an exit command.
Continue Argument type: Boolean
Specifies whether Reflection should procede with the exit command. Reflection
sets this argument to True when the event occurs. If you set Continue
to False in the event procedure, Reflection cancels the exit (and remains
connected if a connection exists).
Notes
· Event procedures must be created in the code module for the Reflection Session object (ThisSession).