I try to start several similar services using ServiceBase.Run(ServiceBase[] ), but it only starts the first one. MSDN does not explicitly deny this; Does this excerpt make them all have to be of different types? (bold - by me, not MSDN)
ServiceBase.Run(ServiceBase[] )
Call this overload in the main () function of the service executable to load an array of related services .
That is the intention. The idea here is that you can have one executable file that creates "several services", and not just one type of service.
SCM, , . ( , ), ServiceBase.
, . , , .