public buildinfo GetBuildDetail(string appId, string buildId) { var xml = _wrapper.GetBuildInfo(appId, buildId, null); try { return(XmlParseHelper.Parse <buildinfo>(xml)); } catch (XmlParseError e) { if (!e.Message.ToLower().Contains("could not find")) { throw e; } return(null); } }