IDiscoveryResult3.GetProtocol 方法

返回指定的值哪 DiscoveryProtocol 用来查看会话。

命名空间:  Microsoft.VisualStudio.WCFReference.Interop
程序集:  Microsoft.VisualStudio.WCFReference.Interop(在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)

语法

声明
Function GetProtocol As DiscoveryProtocol
DiscoveryProtocol GetProtocol()
DiscoveryProtocol GetProtocol()
abstract GetProtocol : unit -> DiscoveryProtocol
function GetProtocol() : DiscoveryProtocol

返回值

类型:Microsoft.VisualStudio.WCFReference.Interop.DiscoveryProtocol
一个 DiscoveryProtocol 枚举

.NET Framework 安全性

请参阅

参考

IDiscoveryResult3 接口

Microsoft.VisualStudio.WCFReference.Interop 命名空间