/// <summary> /// This method stops the service. /// </summary> protected override void OnStop() { _eventLog.WriteEntry("In onStop."); _server.StopServer(); _logger.MessageRecieved -= writeMessage; }
/// <summary> /// This method stops the service. /// </summary> protected override void OnStop() { _eventLog.WriteEntry("In onStop."); _server.StopServer(); _logger.MessageRecieved -= writeMessage; }