Microsoft
70-513 · Question #308
70-513 Question #308: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #308. The question stem and answer options stay visible for context.
Question
Windows Communication Foundation (WCF) application uses a data contract that has several data members. You need the application to throw a Serialization Exception if any of the data members are not present when a serialized instance of the data contract is deserialized. What should you do?
Options
- AAdd the Known Type attribute to the data contract.
- BAdd the Known Type attribute to the data contract.
- CSet the Emit Default Value property of each data member to false.
- DSet the lsRequired property of each data member to true.
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.