Programming with Reflection

image\rwnprg32.gif 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).


· Event procedures must be created in the code module for the Reflection Session object (ThisSession).


image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command