Describe the programming model of a windows service.

Answer

Windows services are based on the class that is inherited from System.ServiceProcess.ServiceBase class. Methods from this class are overridden to provide the functionality as per the user’s requirement. The important classes involved in service creation are:

a. ServiceBase
a. OnStart
b. OnPause
c. OnStop
d. OnContinue
e. OnShutdown
f. OnCustomCommand
g. OnPowerEvent
b. ServiceProcessInstaller
c. ServiceInstaller
d. ServiceController

All .net Questions

Ask your interview questions on net

Write Your comment or Questions if you want the answers on net from net Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---