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)

[GuidAttribute("D622FE99-2087-4D78-8B49-7B46460475FD")]
[InterfaceTypeAttribute(1)]
public interface IDiscoverySession

NameDescription
System_CAPS_pubmethodCancelDiscoverUrl(Int32)

Use this method to cancel the discovery process. The process will be ignored, but the thread itself will not be destroyed.

System_CAPS_pubmethodDiscoverUrl(String, IDiscoveryResult)

Returns a pointer to IDiscoveryResult.

System_CAPS_pubmethodDiscoverUrlAsync(String, IDiscoverUrlCallBack, Int32)

Returns the discovery result after the file is downloaded.

System_CAPS_pubmethodGetDiscoverError(Int32)

Retrieves the exception if NotifyDiscoverComplete method takes in cookie = null.

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

Return to top
Show: