共用方式為


IVsAddWebReferenceDlg2 Interface

Definition

Allows a VSPackage to include a web services dialog box.

public interface class IVsAddWebReferenceDlg2
public interface class IVsAddWebReferenceDlg2
__interface IVsAddWebReferenceDlg2
[System.Runtime.InteropServices.Guid("FE037B96-A8D1-4961-A3F3-E969094BA978")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsAddWebReferenceDlg2
[System.Runtime.InteropServices.Guid("FE037B96-A8D1-4961-A3F3-E969094BA978")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsAddWebReferenceDlg2
[<System.Runtime.InteropServices.Guid("FE037B96-A8D1-4961-A3F3-E969094BA978")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsAddWebReferenceDlg2 = interface
[<System.Runtime.InteropServices.Guid("FE037B96-A8D1-4961-A3F3-E969094BA978")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsAddWebReferenceDlg2 = interface
Public Interface IVsAddWebReferenceDlg2
Attributes

Remarks

Call IVsAddWebReferenceDlg2 when you want to call XML Web services for a VSPackage. Obtain IVsAddWebReferenceDlg2 by querying SVsAddWebReferenceDlg.

Notes to Callers

Call IVsAddWebReferenceDlg2 whenever you want to call XML Web services for a VSPackage. Obtain IVsAddWebReferenceDlg2 by querying SVsAddWebReferenceDlg.

Methods

AddWebReferenceDlg(IDiscoverySession, String, String, IDiscoveryResult, Int32)

Similar to AddWebReferenceDlg(String, Int32) Method, but allows you to enter a default name for the Web Service, as well as use the Discovery Process to get a Discovery Session.

Applies to