示例#1
0
        public void DeleteJob(Guid jobId)
        {
            try
            {
                configurator.DeleteJob(jobId);

                IntegrationWindowsService.RefreshJobInLogger(jobId);

                scheduledJobManager.QueueScheduledJobs(clearExistingScheduledJobInstancesFromWaitingQueue: true);
            }
            catch (Exception ex)
            {
                SyncEngineLogger.WriteExceptionToLog(ex, WEB_SERVICE_EXCEPTION_MESSAGE);

                throw;
            }
        }