예제 #1
0
 protected override void OnStart(string[] args)
 {
     serverManager = new ServerManager();
     Logger.Info("Старт WCF...");
     try
     {
         hostServerUnitManager = new ServiceHost(serverManager);
         hostServerUnitManager.Open();
     }
     catch (Exception ex)
     {
         Logger.Error("StartWCFHosts : ServiceHost... ctor", ex);
         throw;
     }
 }
예제 #2
0
 protected override void OnStart(string[] args)
 {
     serverManager = new ServerManager();
     Logger.Info("Старт WCF...");
     try
     {
         hostServerUnitManager = new ServiceHost(serverManager);
         hostServerUnitManager.Open();
     }
     catch (Exception ex)
     {
         Logger.Error("StartWCFHosts : ServiceHost... ctor", ex);
         throw;
     }
 }