c# - exception handling in the multi thread environment -


i want know if

try/catch can catch exceptions thrown children threads.

if not, what's best practice handling exceptions thrown in child thread.

you can listen application.threadexception , appdomain.unhandledexception events catch uncaught exceptions thread. best catch , handle exceptions in threads themselves. should last resort graceful shutdown / logging.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -