My objective is to save the class variables information in case any exception happens. In .aspx code-behind, we have Page_error handler for capturing exceptions. Which is awesome as I capture the variable information in Session Variable and use it in Application_Error handler.
I know I can use Try-Catch construct for exception handling, but I want to use some in-built generic functionality like Page_Error. Is there anything similar in .vb
(classes) to capture the exception?
Please advise. Thanks
Follow your goals, Means will follow you ---Gandhi---