Condividi tramite


IDiscoveryResult Interface

Definition

Downloads the results of an XML Web service discovery session.

public interface class IDiscoveryResult
public interface class IDiscoveryResult
__interface IDiscoveryResult
[System.Runtime.InteropServices.Guid("B9A32C91-B14D-4AE3-A955-5CBC3E75FCA5")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IDiscoveryResult
[System.Runtime.InteropServices.Guid("B9A32C91-B14D-4AE3-A955-5CBC3E75FCA5")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IDiscoveryResult
[<System.Runtime.InteropServices.Guid("B9A32C91-B14D-4AE3-A955-5CBC3E75FCA5")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IDiscoveryResult = interface
[<System.Runtime.InteropServices.Guid("B9A32C91-B14D-4AE3-A955-5CBC3E75FCA5")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IDiscoveryResult = interface
Public Interface IDiscoveryResult
Attributes

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.

Methods

AddWebReference(Object, String)

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

AddWebReferenceTo(Object, String, String)

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

GetDiscoverySession(IDiscoverySession)

Returns a pointer to IDiscoverySession.

GetDocumentXml(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.

GetRawXml(String)

Returns the XML of the document specified in DiscoverUrl(String, IDiscoveryResult).

GetReferenceCount(Int32)

Returns the reference count for the XML Web service.

GetReferenceInfo(Int32, IReferenceInfo)

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

GetUrl(String)

Returns the URL of the XML Web service.

Applies to