Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stopping a service from the OnStart() method
Message
De
04/09/2013 22:04:06
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Stopping a service from the OnStart() method
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01582238
Message ID:
01582238
Vues:
38
If the service is launched like this:
            Dim loWindowsService As WindowsService = New WindowsService()
            System.ServiceProcess.ServiceBase.Run(loWindowsService)
What would be the most convenient way to stop it if I detect from the OnStart() method that it has to stop?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform