public bool DelExchangePacketConfig(ExchangePacketConfig exchangePacketConfig) { _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient(); try { bool rs = _admin.DelExchangePacketConfig(exchangePacketConfig); _admin.Close(); return(rs); } catch (Exception ex) { _admin.CloseCatch(ex, "DelExchangePacketConfig failed"); return(false); } }