为区分提供枚举与对 windows communication foundation (WCF) 服务并对 web 服务 (.asmx) 进行使用 ASP.NET。
命名空间: Microsoft.VisualStudio.WCFReference.Interop
程序集: Microsoft.VisualStudio.WCFReference.Interop(在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)
语法
声明
Public Enumeration ServiceReferenceType
public enum ServiceReferenceType
public enum class ServiceReferenceType
type ServiceReferenceType
public enum ServiceReferenceType
成员
成员名称 | 说明 | |
---|---|---|
SRT_ASMXReference | 仅显示对 web 服务 (.asmx) 进行使用 ASP.NET。 | |
SRT_WCFReference | 仅显示 WCF 服务引用。 |
备注
ShowAddWebReferenceDialog 方法使用该枚举控件在 添加服务引用 对话框显示类型的引用。