Microsoft
70-513 · Question #213
70-513 Question #213: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #213. The question stem and answer options stay visible for context.
Question
You are developing an application to update a user s social status. You need to consume the service using Windows Communication Foundation (WCF). The client configuration is as follows. <system.serviceModel> <bindings> <webHttpBinding> <binding name="SocialConfig"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Basic" realm="Social API" /> </security> </binding> </webHttpBinding> </bindings> <client> binding="webHttpBinding" bindingConfiguration="SocialConfig" contract="ISocialStatus" name="SocialClient" /> </client> </system.serviceModel> The service contract is defined as follows. <ServiceContract()> Public Interface ISocialStatus <OperationContract()> <WebInvoke(UriTemplate:="/statuses/update.xmlstatus={text}")> Sub UpdateStatus(ByVal text As String) End Interface Which code segment should you use to update the social status?
Options
- AUsing factory As WebChannelFactory(Of ISocialStatus) =
- BUsing factory As ChannelFactory(Of ISocialStatus) =
- CUsing factory As ChannelFactory(Of ISocialStatus) =
- DUsing factory As WebChannelFactory(Of ISocialStatus) =
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.