public TransferData_ItemConsume_ItemConfig TransferDataItemConsumeItemConfigGetByItemId(TransferData_ItemConsume_ItemConfig searchTransferData_ItemConsume_ItemConfig) { _admin = new CharmEventsAdminService.CharmEventsAdminServiceClient(); TransferData_ItemConsume_ItemConfig result = new TransferData_ItemConsume_ItemConfig(); try { result = _admin.TransferDataItemConsumeItemConfigGetByItemId(searchTransferData_ItemConsume_ItemConfig); _admin.Close(); return(result); } catch (Exception ex) { _admin.CloseCatch(ex, "TransferDataItemConsumeItemConfigGetByItemId failed"); return(result); } }