共用方式為


IDiscoverySession Members

Include Protected Members
Include Inherited Members

Called by IVsAddWebReferenceDlg2 to discover XML Web services.

The IDiscoverySession type exposes the following members.

Methods

  Name Description
Public method CancelDiscoverUrl Use this method to cancel the discovery process. The process will be ignored, but the thread itself will not be destroyed.
Public method DiscoverUrl Returns a pointer to IDiscoveryResult.
Public method DiscoverUrlAsync Returns the discovery result after the file is downloaded.
Public method GetDiscoverError Retrieves the exception if NotifyDiscoverComplete method takes in cookie = nulla null reference (Nothing in Visual Basic).
Public method UpdateWebReference Discovers an XML Web service and then adds a reference to it.

Top

See Also

Reference

IDiscoverySession Interface

Microsoft.VisualStudio.Shell.Interop Namespace