次の方法で共有


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

'宣言
<GuidAttribute("D622FE99-2087-4D78-8B49-7B46460475FD")> _
<InterfaceTypeAttribute()> _
Public Interface IDiscoverySession
'使用
Dim instance As 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

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.

See Also

Reference

IDiscoverySession Members

Microsoft.VisualStudio.Shell.Interop Namespace