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(1)]
[GuidAttribute("B9A32C91-B14D-4AE3-A955-5CBC3E75FCA5")]
public interface IDiscoveryResult

NameDescription
System_CAPS_pubmethodAddWebReference(Object, String)

Call this method to download the files cached by the latest discovery session.

System_CAPS_pubmethodAddWebReferenceTo(Object, String, String)

Adds a reference to an XML Web service that already has a discomap file and was not necessarily discovered.

System_CAPS_pubmethodGetDiscoverySession(IDiscoverySession)

Returns a pointer to IDiscoverySession.

System_CAPS_pubmethodGetDocumentXml(String, String)

Retrieves 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.

System_CAPS_pubmethodGetRawXml(String)

Returns the XML of the document specified in DiscoverUrl.

System_CAPS_pubmethodGetReferenceCount(Int32)

Returns the reference count for the XML Web service.

System_CAPS_pubmethodGetReferenceInfo(Int32, IReferenceInfo)

Returns a pointer to IReferenceInfo that contains information on the XML Web service reference-file types.

System_CAPS_pubmethodGetUrl(String)

Returns the URL of the XML Web service.

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.

Return to top
Show: