private static int GetConfigInt(string label, int minimumValue, int maximumValue, int defaultValue) { int result; try { result = TransportAppConfig.GetConfigInt(label, minimumValue, maximumValue, defaultValue); } catch (ConfigurationErrorsException) { result = defaultValue; } return(result); }
// Token: 0x060000DA RID: 218 RVA: 0x00006A48 File Offset: 0x00004C48 public static int GetConfigInt(string label, int min, int max, int defaultValue) { int result; try { result = TransportAppConfig.GetConfigInt(label, min, max, defaultValue); } catch (ConfigurationErrorsException ex) { LogSearchService.Logger.LogEvent(MSExchangeTransportLogSearchEventLogConstants.Tuple_ErrorReadingAppConfig, DateTime.UtcNow.Hour.ToString(CultureInfo.InvariantCulture), new object[] { ex.ToString() }); result = defaultValue; } return(result); }