internal void OnCloseConnection(CloseConnectionEventArgs e) { if (evCloseConnection != null) { evCloseConnection(this, e); } }
protected void OnConnectionClosedHandler(CloseConnectionEventArgs args) { var handler = OnConnectionClosed; if (handler != null) { handler(args); } }
private void OnCloseConnectionHandler(CloseConnectionEventSource source, CloseConnectionEventArgs e) { Logger.Debug("[GenericTransportAgent] DeliveryAgent - OnClose fired..."); foreach (var x in Configuration.Config.DeliveryAgentConfig.OnCloseConnection) { try { x.Execute(); } catch (Exception ex) { Logger.Error(ex, @"Error executing ""OnCloseConnection"""); } } }
internal void OnCloseConnection(CloseConnectionEventArgs e) { if (CloseConnection != null) CloseConnection(this, e); }
private void OnCloseConnectionHandler(CloseConnectionEventSource source, CloseConnectionEventArgs e) { Logger.Debug("[GenericExchangeTransportagent] [DeliveryAgent] OnClose fired..."); _config.DeliveryAgentConfig.OnCloseConnection.ToList().ForEach(x => { try { x.Execute(); } catch (Exception ex) { Logger.Error(ex, @"Error executing ""OnCloseConnection"""); } }); }
private void OnCloseConnectionHandler(CloseConnectionEventSource source, CloseConnectionEventArgs e) { Logger.Debug("[GenericTransportAgent] DeliveryAgent - OnClose fired..."); _config.DeliveryAgentConfig.OnCloseConnection.ToList().ForEach(x => { try { x.Execute(); } catch (Exception ex) { Logger.Error(ex, @"Error executing ""OnCloseConnection"""); } }); }
private void GenericConnectionClosed(CloseConnectionEventArgs args) { Logger.Trace(string.Format("Closed connection {0}", args.Connection.Name)); }