A
Alex
Hi
Is it possible to catch exceptions thrown by a System.Threading.Thread
object?
i.e. I have an instance of a class that is created using the normal
Thread/ThreadStart method, but once it starts, there will be no try/catch
block to catch any exceptions thrown (other than the ones that might be
raised by the Thread/ThreadStart classes when I'm initiating the thread).
I was thinking of using events (i.e. instead of throwing an exception my
class can raise an event), but that still won't ensure all exceptions are
trapped.
Thanks
Alex
Is it possible to catch exceptions thrown by a System.Threading.Thread
object?
i.e. I have an instance of a class that is created using the normal
Thread/ThreadStart method, but once it starts, there will be no try/catch
block to catch any exceptions thrown (other than the ones that might be
raised by the Thread/ThreadStart classes when I'm initiating the thread).
I was thinking of using events (i.e. instead of throwing an exception my
class can raise an event), but that still won't ensure all exceptions are
trapped.
Thanks
Alex