Microsoft
70-513 · Question #196
70-513 Question #196: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #196. The question stem and answer options stay visible for context.
Question
You are consuming a Windows Communication Foundation (WCF) service. The service interface is defined as follows. <DataContract(Namespace:="")> Public Class Item End Class ServiceContract (Namespace: ="") > Public Interface ICatalog <OperationContract()> <WebInvoke(Method:="POST*', UriTemplate:="/Item") > Function Updateltem(ByVal item As Item) As Item End Interface The client application receives a WebResponse named response with the response from the service. You need to deserialize this response into a strongly typed object representing the return value of the method. Which code segment should you use?
Options
- ADim r As XmlDictionaryReader =
- BDim s As DataContractSerializer =
- CDim s As DataContractJsonSerlalizer =
- DDim f As BinaryFormatter = New BinaryFormatter() Dim item As Item =
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.