Compartilhar via


IDiscoveryResult2 Interface

Downloads the results of an XML Web service discovery session.

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

Syntax

'Declaration
<GuidAttribute("9947783D-B173-4FD9-8E6E-91482CF9E239")> _
<InterfaceTypeAttribute()> _
Public Interface IDiscoveryResult2
[GuidAttribute("9947783D-B173-4FD9-8E6E-91482CF9E239")]
[InterfaceTypeAttribute()]
public interface IDiscoveryResult2
[GuidAttribute(L"9947783D-B173-4FD9-8E6E-91482CF9E239")]
[InterfaceTypeAttribute()]
public interface class IDiscoveryResult2
[<GuidAttribute("9947783D-B173-4FD9-8E6E-91482CF9E239")>]
[<InterfaceTypeAttribute()>]
type IDiscoveryResult2 =  interface end
public interface IDiscoveryResult2

The IDiscoveryResult2 type exposes the following members.

Methods

  Name Description
Public method DownloadServiceDocument Updates an output parameter with a pointer to a pointer to a Client Discovery Result Collection Object containing the results of a Web Service Discovery Session

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 IDiscoveryResult2 interface whenever you use IDiscoverySession to discover Web services. Also used by IVsAddWebReferenceDlg2 Interface.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace