George George

George George

  • NA
  • 778
  • 0

Windows Service class constructor and OnStart method

Apr 14 2008 9:21 AM

Hello everyone,


Suppose we have a class which is derived from ServiceBase, which provides Windows Service. My question is, what is the best practices that what kind of code to put into constructor of the class, and what kind of code to put into OnStart method of the class?


thanks in advance,
George


Answers (2)