RabbitMQ.Client.Impl.AutorecoveringModel.RunRecoveryEventHandlers C# (CSharp) Method

RunRecoveryEventHandlers() protected method

protected RunRecoveryEventHandlers ( ) : void
return void
        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);
                    }
                }
            }
        }
AutorecoveringModel