Пример #1
0
        private void            SyncOutlookApps()
        {
            try
            {
                if (!syncOutlookAppsRunning)
                {
                    syncOutlookAppsRunning = true;

                    while (coreRunning && outlookController.CalendarItemIntrepid())
                    {
                        log.LogEverything("Not Specified", "outlookController.CalendarItemIntrepid() completed");
                    }

                    while (coreRunning && outlookController.CalendarItemReflecting(null))
                    {
                        log.LogEverything("Not Specified", "outlookController.CalendarItemReflecting() completed");
                    }

                    syncOutlookAppsRunning = false;
                }
            }
            catch (Exception ex)
            {
                syncOutlookAppsRunning = false;
                log.LogException("Not Specified", t.GetMethodName() + " failed", ex, true);
            }
        }