InvokeResult() public method

public InvokeResult ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement
 public List<ProjectInfo> ListAllProjects()
 {
     SoapInvoker invoker = new SoapInvoker(this);
     invoker.CreateEnvelope("ListAllProjects");
     var resultEl = invoker.InvokeResult();
     return new List<ProjectInfo>(resultEl.Elements(this.MessageNs + "ProjectInfo").Select(x => ProjectInfo.FromXml(Collection, x)));
 }
 private IEnumerable<XElement> GetXmlCollections()
 {
     SoapInvoker invoker = new SoapInvoker(this);
     //var serviceNs = 
     var message = invoker.CreateEnvelope("QueryResourcesByType");
     message.Add(new XElement(MessageNs + "resourceTypes", new XElement(MessageNs + "guid", projectCollectionsTypeId)));
     var resultElement = invoker.InvokeResult();
     return resultElement.XPathSelectElements("./msg:CatalogResources/msg:CatalogResource", this.NsResolver);
 }