当前位置:MCTS(70-513)题库

问题:

[单选] You are implementing a Windows Communication Foundation (WCF) client application that consumes the ICatalog and lCatalog2 service interfaces.You need to ensure that the client discovers services implementing these interfaces. The services may already be online or may come online within a 30 second time limit. How should you use WCF Discovery to accomplish this?()

A . Create one FindCriteria object for each interface and set the Duration of each FindCriteria to 30 seconds. Call the FindAsync method of the DiscoveryClient class twice, one time for each of the FindCriteria objects, to search for the services.
B . Create one FindCriteria object for each interface and set the Duration of each FindCnteria to two seconds. Create a loop that calls the Find method of the DiscoveryClient class to search for the services. Within each loop iteration, call the Find method of the DiscoveryClient class once for each of the FindCriteria objects. Run the loop until a service is found or 30 seconds pass.
C . Create a single FindCriteria object and add both interfaces to its ContractTypeNames collection. Set the criteria's Duration to two seconds. Create a loop that calls the Find method of the DiscoveryClient class to search for the services. Within each loop iteration, call the Find method of the DiscoveryClient class to search for the services Run the loop until a service is found or 30 seconds pass.
D . Create a single FindCritera object and add both interfaces to the ContractTypeNames collection. Set the Duration to 30 seconds and use the FindAsync method of the DiscoveryClient class to search for the services.

医疗器械生产企业、经营企业和使用单位认为必要时,可以()报告,但是应当及时告知被越过的部门及机构。 为了确保隐患得到整改,应建立检查反馈机制,对检查考核中提出的重大问题由()。 技术部门负责立案跟踪督促整改。 厂领导负责立案跟踪督促整改。 班组长负责立案跟踪督促整改。 安全管理部门负责立案跟踪督促整改。 添加背景音乐的HTML标签是()  <bgmusic>   。  <bgm>   。  <bgsound>   。  <music>。 根据医疗器械不良事件的危害程度,医疗器械生产企业必要时应当采取()、()、()、重新标签、修改说明书、软件升级、替换、收回、销毁等控制措施。 简述古代希腊早期僭主政治。 You are implementing a Windows Communication Foundation (WCF) client application that consumes the ICatalog and lCatalog2 service interfaces.You need to ensure that the client discovers services implementing these interfaces. The services may already be online or may come online within a 30 second time limit. How should you use WCF Discovery to accomplish this?()
参考答案:

  参考解析

本题暂无解析

在线 客服