Are you looking for a way to catch the unhandled exception and perform the operation like logging etc. before the application terminates ?.
Below is a sample code snippet that demonstrates how to do it in Console Application.
Are you looking for a way to catch the unhandled exception and perform the operation like logging etc. before the application terminates ?.
Below is a sample code snippet that demonstrates how to do it in Console Application.