2
Answers

Windows Service class constructor and OnStart method

Ask a question
George George

George George

16y
2.4k
1

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)