Hi all
I have the health montior setup. I also added try..catch in my code. I know health montior only trigger when unhandle exception has happen. But I would like it to trigger when any exception has happen including the handled exception.
Is there a best practice to do what i need?
Below is the only way I find from the internet:
catch(Exception e)
{
?if (HealthMonitoringManager.Enabled)
?{
??WebBaseEvent.Raise(new WebErrorEvent("My Error message", null, 5000, e));
?}
}
Bryan
...
Go to the complete details ...