Summary

In this chapter, you learned how to query and control services using the ServiceController class. You also learned how to create a new service application, taking the ServiceBase class as a framework and overriding methods, properties, and events as needed by your service. You saw how to install a service by creating a custom Installer class and populating its Installers property. Finally, you learned how to use the InstallUtil utility to install and uninstall a service through its custom installer class.

Get Microsoft® Visual J#™ .NET (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.