G
Guest
All,
I have a windows service that creates a couple of worker threads to do some processing. The service works fine.
However, the main service thread has a method for sending email notices that I would like to be able to call from the worker threads. Furthermore, I would like this call to be done asynchronously.
If I was working with a Windows Form app I would have no problem as the Form has a begin invoke method that works great for this. However, I can't find a similar method on the service.
How can I implement this scenario in a service application?
Thanks for the help!
Dan
I have a windows service that creates a couple of worker threads to do some processing. The service works fine.
However, the main service thread has a method for sending email notices that I would like to be able to call from the worker threads. Furthermore, I would like this call to be done asynchronously.
If I was working with a Windows Form app I would have no problem as the Form has a begin invoke method that works great for this. However, I can't find a similar method on the service.
How can I implement this scenario in a service application?
Thanks for the help!
Dan