When I execute ThreadPool.QueueUserWorkItem, I do not want the unhandled exceptions to kill my whole process. So I am doing something like:
ThreadPool.QueueUserWorkItem(delegate() { try { FunctionIActuallyWantToCall(); } catch { HandleException(); } });
Is this the recommended template? There seems to be an easier way to do this. This is an asp.net-mvc application, if necessary.
source share