Method StopAllServices StopAllServices() Calls StopHostingService() on all managed IHostingService instances where IsHostingServiceRunning is true Declaration public void StopAllServices()