private XH_SpotPosition GetSpotPositionByBreedClassIDFromWCF(int id) { try { using (SpotTradeRulesClient client = GetClient()) return(client.GetSpotPositionByBreedClassID(id)); } catch (Exception ex) { string errCode = "GT-8109"; string errMsg = "无法从管理中心获取现货品种持仓限制。"; throw new VTException(errCode, errMsg, ex); } }