Esempio n. 1
0
 private void InitializeServiceModel()
 {
     try
     {
         _superLoggerServiceModel = new SuperLoggerServiceModel();
     }
     catch (Exception ex)
     {
         string msg = string.Format("Error initializing the service Model: Error = {0}; StackTrace = {1}", ex.Message, ex.StackTrace);
         this.SuperLoggerEventLog.WriteEntry(msg, EventLogEntryType.Error);
     }
 }
        public void ServiceModelTest()
        {
            SuperLoggerServiceModel service = new SuperLoggerServiceModel();

            service.Run();
        }