Services and multithreading

Topics: CAB & Smart Client Software Factory
Jul 19, 2006 at 11:05 AM
originally posted by: ksunair


I am wondering has any one used service along with multi threading? I defined a service which has a event subscriber to talk to UI. It works well when I have it as service. One of my requirement is to consume service multiple times (multi threading) so always the last consumer data is the one stays in the service and loosing previous consumers.

So I thought I will change it to a class so I can use it as a multithreading program. With this, I am unable to communicate to UI using event broker. Do I have to go back to traditional delegate to talk to UI?

Any comments or suggestions?