I see in the examples at MSDN that when a
service is created, Main method is still
there, as the code below shows. Why is it
there?! I'd expect OnStart to be the only
required entry point for a service.
public static void Main() {
System.ServiceP rocess.
ServiceBase.Run (new UserService1()) ;}
--
Regards
Konrad Viltersten
----------------------------------------
May all spammers die an agonizing death;
have no burial places; their souls be
chased by demons in Gehenna from one room
to another for all eternity and beyond.
service is created, Main method is still
there, as the code below shows. Why is it
there?! I'd expect OnStart to be the only
required entry point for a service.
public static void Main() {
System.ServiceP rocess.
ServiceBase.Run (new UserService1()) ;}
--
Regards
Konrad Viltersten
----------------------------------------
May all spammers die an agonizing death;
have no burial places; their souls be
chased by demons in Gehenna from one room
to another for all eternity and beyond.
Comment