IDiscoverySession Interface
Visual Studio 2015
Called by IVsAddWebReferenceDlg2 to discover XML Web services.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | CancelDiscoverUrl(Int32) | Use this method to cancel the discovery process. The process will be ignored, but the thread itself will not be destroyed. |
![]() | DiscoverUrl(String, IDiscoveryResult) | Returns a pointer to IDiscoveryResult. |
![]() | DiscoverUrlAsync(String, IDiscoverUrlCallBack, Int32) | Returns the discovery result after the file is downloaded. |
![]() | GetDiscoverError(Int32) | Retrieves the exception if NotifyDiscoverComplete method takes in cookie = null. |
![]() | UpdateWebReference(Object, String, String) | Discovers an XML Web service and then adds a reference to it. |
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.
Show:
