在 添加服务引用 对话框返回服务的 ServiceReferenceType 引用。
命名空间: Microsoft.VisualStudio.WCFReference.Interop
程序集: Microsoft.VisualStudio.WCFReference.Interop(在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)
语法
声明
Function GetReferenceType As ServiceReferenceType
ServiceReferenceType GetReferenceType()
ServiceReferenceType GetReferenceType()
abstract GetReferenceType : unit -> ServiceReferenceType
function GetReferenceType() : ServiceReferenceType
返回值
类型:Microsoft.VisualStudio.WCFReference.Interop.ServiceReferenceType
表示服务的类型 ServiceReferenceType 引用。
备注
服务引用返回 添加服务引用 对话框中是对 windows communication foundation (WCF) 或对 web services (asmx) 该使用 ASP.NET。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。