Julia,
Basically, you will have to set it up so that you can remote events from
your service to whomever has an instance of a class that your service is
hosting. For the sake of simplicity, define an interface that has the event
information that you want to convey, and have the client pass the interface
implementation to the server (the client or object implementing the
interface has to derive from MarshalByRefObject). That way, when the server
wants to fire an event, it just calls the method on the registered
interfaces.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Julia" <co********@012.net.il> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...
My service send email messages and log all information to a log file
I wonder if it's common to raise events from the service(the remote object
which hosted inside the service)
to my MMC snapin, so user will be able to see (roughly) what the service
is
doing
I am thinking about something similar to COM+ snap in "Transactions
statistics" node
Thanks.