Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make a Windows Service stop itself
Message
From
22/01/2007 06:19:25
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
19/01/2007 15:53:15
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01187186
Message ID:
01187594
Views:
22
Mike on the Onstart method of the windows service just throw an exception that will stop the service.

>I created a Windows Service that reads values from a config file at startup. If these values are not valid, I don't want the service to start at all. How can I achieve this?
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform