Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServiceBase::Run Method

 

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(array<ServiceBase^>^)

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

Return to top
Show:
© 2017 Microsoft