A
AlexS
Hi Alok
as exception is thrown in worker thread it won't reach main thread. You can
catch it however and invoke event handler, which you define when creating
thread. Once again - delegate will execute in the context of worker thread
so you will need to invoke method on main thread.
Documentation is a bit misleading in this respect - I remember I've seen
something like this. It was referring to rasing event on main thread but did
not specify in details that this is not true for multithreaded situations.
HTH
Alex
as exception is thrown in worker thread it won't reach main thread. You can
catch it however and invoke event handler, which you define when creating
thread. Once again - delegate will execute in the context of worker thread
so you will need to invoke method on main thread.
Documentation is a bit misleading in this respect - I remember I've seen
something like this. It was referring to rasing event on main thread but did
not specify in details that this is not true for multithreaded situations.
HTH
Alex