搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

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.

更多“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?()”相关的问题
第1题

A、Routing contexts are implemented in a single routing process.  B、Routing contexts are implemented using multiple roubng processes.  C、Routing contexts are implemented as a single instance of several routing processes.  D、Routing contexts are implemented as several instances of a single routing process.  

点击查看答案
第3题

A、RIP does not support routing contexts  B、routing contexts are implemented in a single routing process  C、routing contexts are implemented using multiple routing processes  D、routing contexts are implemented as several instances of a single routing process  E、routing contexts are implemented as a single instance of several routing processes  

点击查看答案
第4题

A、RIP does not support routing contexts  B、routing contexts are implemented in a single routing process  C、routing contexts are implemented using multiple routing processes  D、routing contexts are implemented as several instances of a single routing process  E、routing contexts are implemented as a single instance of several routing processes  

点击查看答案
第5题

A、All OSPF implementations must have at le ast one interface in area 0.  B、You are attempting to run in the broadcast mode over an NBMA interface.  C、Both routers are configured to function as a BDR; therefore, there is no DR router.  D、Someone has changed the OSPF router ID; therefore you must clear the OSPF process.  E、The OSPF priority is set to 0 on both routers; therefore neither can become the DR.  

点击查看答案
第6题

A、You are fired! You are hired!  B、You are fired! You are fired!  C、You are hired! You are hired!  D、You are hired! Youarefired!  

点击查看答案
第9题

A、Changes are not implemented,but are saved automatically.  B、Changes are no timplemented and must be written into memory.  C、Changes are implemented immediately and save dautomatically.  D、Changes are implemented immediately,but must be written intomemory.  

点击查看答案
第10题

A、Apply the TemplateContainerAttribute to a property of type ITemplate. Pass the type of the template's naming container as the argument to the attribute.  B、Apply the TemplateContainerAttribute to the user control's class declaration.  C、Implement a property of type INamingContainer in the user control's code-behind class.  D、Implement a property of type ITemplate in the user control's code-behind class.  E、Define a new class that inherits from the ITemplate interface. Implement the InstantiateIn method of the ITemplate interface.  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服