返回异步 windows communication foundation 服务) 查看结果 (IDiscoveryResult(WCF)) 接口。
命名空间: Microsoft.VisualStudio.WCFReference.Interop
程序集: Microsoft.VisualStudio.WCFReference.Interop(在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)
语法
声明
Sub DiscoverUrlAsyncWithMetadataExchange ( _
url As String, _
protocolPriority As DiscoverySessionProtocolPriority, _
resolveAllFiles As Integer, _
toolConfigurationPath As String, _
pDiscoverUrlCallBack As IDiscoverUrlCallBack, _
<OutAttribute> ByRef pCookieID As Integer _
)
void DiscoverUrlAsyncWithMetadataExchange(
string url,
DiscoverySessionProtocolPriority protocolPriority,
int resolveAllFiles,
string toolConfigurationPath,
IDiscoverUrlCallBack pDiscoverUrlCallBack,
out int pCookieID
)
void DiscoverUrlAsyncWithMetadataExchange(
String^ url,
DiscoverySessionProtocolPriority protocolPriority,
int resolveAllFiles,
String^ toolConfigurationPath,
IDiscoverUrlCallBack^ pDiscoverUrlCallBack,
[OutAttribute] int% pCookieID
)
abstract DiscoverUrlAsyncWithMetadataExchange :
url:string *
protocolPriority:DiscoverySessionProtocolPriority *
resolveAllFiles:int *
toolConfigurationPath:string *
pDiscoverUrlCallBack:IDiscoverUrlCallBack *
pCookieID:int byref -> unit
function DiscoverUrlAsyncWithMetadataExchange(
url : String,
protocolPriority : DiscoverySessionProtocolPriority,
resolveAllFiles : int,
toolConfigurationPath : String,
pDiscoverUrlCallBack : IDiscoverUrlCallBack,
pCookieID : int
)
参数
url
类型:String对于发现会话指定 URL。
protocolPriority
类型:Microsoft.VisualStudio.WCFReference.Interop.DiscoverySessionProtocolPriority指定一个协议的 DiscoverySessionProtocolPriority 枚举。
resolveAllFiles
类型:Int32跳过不能解析的文件的 0;否则 1。
toolConfigurationPath
类型:String指定配置文件的位置。
pDiscoverUrlCallBack
类型:IDiscoverUrlCallBack为 IDiscoverUrlCallBack 接口的指针。 ,这种查看完成时,此接口返回 S_OK 。
pCookieID
类型:Int32%指定标识查看结果的 cookie。
备注
若要取消操作,请调用 IDiscoverySession 接口的 CancelDiscoverUrl 方法。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。