欢迎来到PP题库网 PP题库官网
logo
全部科目 > 微软认证考试 > MCPD > MCPD(70-513)

单项选择题

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?()

    A. Add the Known Type attribute to the data contract.Set a default value in each of the data member declarations.
    B. Add the Known Type attribute to the data contract.Set the Order property of each data member to unique integer value.
    C. Set the Emit Default Value property of each data member to false.
    D. Set the Is Required property of each data member to true.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题