Method StopHostingService StopHostingService() Temporarily stops the service from receiving requests. Declaration public override void StopHostingService() Overrides BaseHostingService.StopHostingService()