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

单项选择题

A Windows Communication Foundation (WCF) service is generating a separate namespace declaration for each body member of a message contract,even though all body members share the same namespace. You need to simplify the XML representation of your message contract so that the namespace is only declared once. What should you do?()

    A. Declare a wrapper namespace for the message contract by using the WrapperNamespace property of the MessageContract attribute
    B. Explicitly set the Namespace property of all the MessageBodyMember attrbutes to the same namespace.
    C. Declare all of the body members as properties of a DataContract class and use the class as the only body member of the message contract.
    D. Declare all of the body members as properties of a separate MessageContract class and use the class as the only body member of the message contract.

点击查看答案

相关考题

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

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