Exemple #1
0
 private void dispatcherTimer_Tick(object sender, EventArgs e)
 {
     try
     {
         ws.Start();
     }
     catch (Exception ex)
     {
         new RMSAppException(this, "0500", "dispatcherTimer_Tick failed. " + ex.Message, ex, true);
     }
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateWebResources"/> class.
 /// </summary>
 public CrmWebResourcesUpdater()
 {
     AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
     watchdogService = new WatchdogService($@"{assemblyPath}\CrmWebResourceUpdater.ServiceConsole.exe", "CrmWebResourceUpdater.ServiceConsole");
     watchdogService.Start();
 }