This documentation is archived and is not being maintained.

ServiceBase.Run Method

Provides the main entry point for a service executable.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method Static member Run(ServiceBase) Registers the executable for a service with the Service Control Manager (SCM).
Public method Static member Run(ServiceBase[]) Registers the executable for multiple services with the Service Control Manager (SCM).