public bool GetAccountData(string login, string pwrd, int accountId, out Account account, out List <MarketOrder> openedOrders) { if (channel == null) { throw new Exception("RobotFarmProxy: связь не установлена"); } try { return(channel.GetAccountData(login, pwrd, accountId, out account, out openedOrders)); } catch (Exception) { RenewFactory(); return(channel.GetAccountData(login, pwrd, accountId, out account, out openedOrders)); } }