Bagikan melalui


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("B9A32C91-B14D-4AE3-A955-5CBC3E75FCA5")> _
Public Interface IDiscoveryResult
[InterfaceTypeAttribute()]
[GuidAttribute("B9A32C91-B14D-4AE3-A955-5CBC3E75FCA5")]
public interface IDiscoveryResult
[InterfaceTypeAttribute()]
[GuidAttribute(L"B9A32C91-B14D-4AE3-A955-5CBC3E75FCA5")]
public interface class IDiscoveryResult
[<InterfaceTypeAttribute()>]
[<GuidAttribute("B9A32C91-B14D-4AE3-A955-5CBC3E75FCA5")>]
type IDiscoveryResult =  interface end
public interface IDiscoveryResult

The IDiscoveryResult type exposes the following members.

Methods

  Name Description
Public method AddWebReference Call this method to download the files cached by the latest discovery session.
Public method AddWebReferenceTo Adds a reference to an XML Web service that already has a discomap file and was not necessarily discovered.
Public method GetDiscoverySession Returns a pointer to IDiscoverySession.
Public method GetDocumentXml 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.
Public method GetRawXml Returns the XML of the document specified in DiscoverUrl.
Public method GetReferenceCount Returns the reference count for the XML Web service.
Public method GetReferenceInfo Returns a pointer to IReferenceInfo that contains information on the XML Web service reference-file types.
Public method GetUrl Returns the URL of the XML Web service.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace