Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ServiceBase.Run Method

Provides the main entry point for a service executable.

Overload List

Provides the main entry point for an executable that contains a single service. Loads the service into memory so it can be started.

[Visual Basic] Overloads Public Shared Sub Run(ServiceBase)
[C#] public static void Run(ServiceBase);
[C++] public: static void Run(ServiceBase*);
[JScript] public static function Run(ServiceBase);

Provides the main entry point for an executable that contains multiple associated services. Loads the specified services into memory so they can be started.

[Visual Basic] Overloads Public Shared Sub Run(ServiceBase())
[C#] public static void Run(ServiceBase[]);
[C++] public: static void Run(ServiceBase*[]);
[JScript] public static function Run(ServiceBase[]);

See Also

ServiceBase Class | ServiceBase Members | System.ServiceProcess Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.