InvokeResult() 공개 메소드

public InvokeResult ( ) : System.Xml.Linq.XElement
리턴 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);
 }