ASP.NET Exception Handling in background threads -


When I do threadpools QUUAEAVACHITIME, I do not want to do exceptions to kill my entire process, so I do something like this:

  Threadpool. QUUUserWarKitim (Rep. {Try {Functional ventotocell ()}} Hold {handle exception ();}});  

Is this a recommended pattern? It seems that there should be a simple way to do this. It is in an asp.net-mvc app, if it is relevant.

You must catch exceptions in the callback to avoid calling in the calling thread (as per your example ) This is the recommended pattern if it is an asp.net application, you can use it in Application_Error method in global.assx

/ Html>.

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -