IDiscoverySession Interface
Called by IVsAddWebReferenceDlg2 to discover XML Web services.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
<GuidAttribute("D622FE99-2087-4D78-8B49-7B46460475FD")> _
<InterfaceTypeAttribute()> _
Public Interface IDiscoverySession
[GuidAttribute("D622FE99-2087-4D78-8B49-7B46460475FD")]
[InterfaceTypeAttribute()]
public interface IDiscoverySession
[GuidAttribute(L"D622FE99-2087-4D78-8B49-7B46460475FD")]
[InterfaceTypeAttribute()]
public interface class IDiscoverySession
[<GuidAttribute("D622FE99-2087-4D78-8B49-7B46460475FD")>]
[<InterfaceTypeAttribute()>]
type IDiscoverySession = interface end
public interface IDiscoverySession
The IDiscoverySession type exposes the following members.
Methods
Name | Description | |
---|---|---|
CancelDiscoverUrl | Use this method to cancel the discovery process. The process will be ignored, but the thread itself will not be destroyed. | |
DiscoverUrl | Returns a pointer to IDiscoveryResult. | |
DiscoverUrlAsync | Returns the discovery result after the file is downloaded. | |
GetDiscoverError | Retrieves the exception if NotifyDiscoverComplete method takes in cookie = nulla null reference (Nothing in Visual Basic). | |
UpdateWebReference | Discovers an XML Web service and then adds a reference to it. |
Top
Remarks
Implement the IDiscoverySession Interface when you add web references using IVsAddWebReferenceDlg2 Interface.
Notes to Implementers
Implement this interface when you need to create a discovery session to add Web service references.