protected void RunRecoveryEventHandlers()
{
EventHandler<EventArgs> handler = m_recovery;
if (handler != null)
{
foreach (EventHandler<EventArgs> reh in handler.GetInvocationList())
{
try
{
reh(this, EventArgs.Empty);
}
catch (Exception e)
{
var args = new CallbackExceptionEventArgs(e);
args.Detail["context"] = "OnModelRecovery";
m_delegate.OnCallbackException(args);
}
}
}
}