可学答题网 > 问答 > MCTS(70-513)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

A Windows Communication Foundation (WC


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.
参考答案
参考解析:
分类:MCTS(70-513)题库
相关推荐

1、A Windows Communication Foundation (W

A Windows Communication Foundation (WCF) service is deployed with netTcpBinding.This service uses a duplex message exchange pattern.You are develop...

2、A Windows Communication Foundation (WC

A Windows Communication Foundation (WCF) service sends notifications when the service is started and stopped.You need to implement a client that...

3、A Windows Communication Foundation (W

A Windows Communication Foundation (WCF) solution exposes the following service over a TCP binding.(Line numbers are included for reference only.)...

4、A Windows Communication Foundation (WC

A Windows Communication Foundation (WCF) solution uses two services to manage a shopping cart. Service A processes messages containing line items...

5、A Windows Communication Foundation (WC

A Windows Communication Foundation (WCF) application exposes a service as a SOAP endpoint for consumption by cross-platform clients.During integrat...

6、A Windows Communication Foundation (WC

A Windows Communication Foundation (WCF) service uses the following service contract. [ServiceContract] public interface IService{ [OperationCon...