/// <summary> /// Returns an <see cref="System.IDisposable"/> that will ignore the profiling between its creation and disposal. /// </summary> /// <returns></returns> internal IDisposable IgnoreImpl() { IDisposable ignoredStep = null; try { ignoredStep = _profiler.Ignore(); } catch (Exception ex) { HandleExceptionHandler(ex, this); } return(ignoredStep); }