返回包含的终点 windows communication foundation (WCF) 服务引用的 IEnumerable 集合。
命名空间: Microsoft.VisualStudio.ManagedInterfaces9
程序集: Microsoft.VisualStudio.ManagedInterfaces.WCF(在 Microsoft.VisualStudio.ManagedInterfaces.WCF.dll 中)
语法
声明
Function GetServiceEndpoints As IEnumerable(Of ServiceEndpoint)
IEnumerable<ServiceEndpoint> GetServiceEndpoints()
IEnumerable<ServiceEndpoint^>^ GetServiceEndpoints()
abstract GetServiceEndpoints : unit -> IEnumerable<ServiceEndpoint>
function GetServiceEndpoints() : IEnumerable<ServiceEndpoint>
返回值
类型:IEnumerable<ServiceEndpoint>
包含所有的 IEnumerable 集合一给定的 WCF 服务的终结点引用。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。