Microsoft
70-513 · Question #174
70-513 Question #174: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #174. The question stem and answer options stay visible for context.
Question
A Windows Communication Foundation (WCF) client configuration file contains the following XML segment in the system.serviceModel element. <client> <endpoint address=" net.tcp://server/ContosoService " binding=" netTcpBinding " contract=" Contoso. IContoso Service " name=" netTcp " / > <endpoint address=" net.pipe://localhost/ContosoService " binding=" netNamedPipeBinding " contract=" Contoso. IContoso Service " name=" netPipe " /> </client> You need to create a channel factory that can send messages to the endpoint listening at net.pipe://localhost/ContosoService. Which code segment should you use
Options
- ADim factory As ChannelFactory (Of Contoso. IContosoService ) =
- BDim factory As ChannelFactory (Of Contoso. IContosoService ) =
- CDim factory As ChannelFactory (Of Contoso. IContosoService ) =
- DDim factory As ChannelFactory (Of Contoso. IContosoService ) =
Unlock 70-513 to see the answer
You've previewed enough free 70-513 questions. Unlock 70-513 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.