IDiscoveryResult Interface

Downloads the results of an XML Web service discovery session.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[InterfaceTypeAttribute()]
[GuidAttribute("B9A32C91-B14D-4AE3-A955-5CBC3E75FCA5")]
public interface IDiscoveryResult

The IDiscoveryResult type exposes the following members.

  NameDescription
Public methodAddWebReferenceCall this method to download the files cached by the latest discovery session.
Public methodAddWebReferenceToAdds a reference to an XML Web service that already has a discomap file and was not necessarily discovered.
Public methodGetDiscoverySessionReturns a pointer to IDiscoverySession.
Public methodGetDocumentXmlRetrieves the XML of the document specified by the URL in the parameter list. This URL can point to SDL, XSD, disco or other file types.
Public methodGetRawXmlReturns the XML of the document specified in DiscoverUrl.
Public methodGetReferenceCountReturns the reference count for the XML Web service.
Public methodGetReferenceInfoReturns a pointer to IReferenceInfo that contains information on the XML Web service reference-file types.
Public methodGetUrlReturns the URL of the XML Web service.
Top

Use this interface to retrieve the files downloaded from a web service. This result is returned to the calling interface, usually IVsAddWebReferenceDlg2.

Notes to Implementers

Implement the IDiscoveryResult interface whenever you use IDiscoverySession to discover Web services. Also used by IVsAddWebReferenceDlg2 Interface.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft