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
Post a Comment