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