private static string GetConfigString(string label, string defaultValue) { string result; try { result = TransportAppConfig.GetConfigString(label, defaultValue); } catch (ConfigurationErrorsException) { result = defaultValue; } return(result); }
// Token: 0x060000DD RID: 221 RVA: 0x00006BA0 File Offset: 0x00004DA0 public static string GetConfigString(string label, string defaultValue) { string result; try { result = TransportAppConfig.GetConfigString(label, defaultValue); } catch (ConfigurationErrorsException ex) { LogSearchService.Logger.LogEvent(MSExchangeTransportLogSearchEventLogConstants.Tuple_ErrorReadingAppConfig, DateTime.UtcNow.Hour.ToString(CultureInfo.InvariantCulture), new object[] { ex.ToString() }); result = defaultValue; } return(result); }