ServiceBase.Run Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides the main entry point for a service executable.

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticRun(ServiceBase)

Registers the executable for a service with the Service Control Manager (SCM).

System_CAPS_pubmethodSystem_CAPS_staticRun(ServiceBase[])

Registers the executable for multiple services with the Service Control Manager (SCM).

Return to top
Show: