private static void OnExchangeAssiatnceConfigChanged(ADNotificationEventArgs args) { ExchangeAssistance exchangeAssistanceObjectFromADWithRetry = HelpProvider.GetExchangeAssistanceObjectFromADWithRetry(OrganizationId.ForestWideOrgId); if (exchangeAssistanceObjectFromADWithRetry != null) { switch (HelpProvider.callingAppName) { case HelpProvider.HelpAppName.Ecp: if (exchangeAssistanceObjectFromADWithRetry.ControlPanelHelpURL != null) { Interlocked.Exchange <Uri>(ref HelpProvider.baseUrl, Utilities.NormalizeUrl(exchangeAssistanceObjectFromADWithRetry.ControlPanelHelpURL)); return; } break; case HelpProvider.HelpAppName.Owa: if (exchangeAssistanceObjectFromADWithRetry.OWAHelpURL != null) { Interlocked.Exchange <Uri>(ref HelpProvider.baseOwaPremiumUrl, exchangeAssistanceObjectFromADWithRetry.OWAHelpURL); } if (exchangeAssistanceObjectFromADWithRetry.OWALightHelpURL != null) { Interlocked.Exchange <Uri>(ref HelpProvider.baseOwaLightUrl, exchangeAssistanceObjectFromADWithRetry.OWALightHelpURL); } break; default: return; } } }