This question is locked. New answers and comments are not allowed.
Hi,
I'd like to propose another appropach for tracking feature timings: instead of
monitor.TrackFeatureStart();
try {
// do something
monitor.TrackFeatureStop();
} catch {
monitor.TrackFeatureCancel();
}
have IDisposable helper class to write same code as following:
using (var feature = montor.StartFeatureTiming()) {
// do something
feature.Done();
}
It will assume feature was completed if .Done() method was called and feature was cancelled otherwise.