You are developing a Windows Communication Foundation (WCF) service. You write a method named Submit that accepts messages of the type System.ServiceModel.Channels.Message. You need to process the body of the incoming messages multiple times in the method. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)()
- A、Use the GetBody method of the Message class to read the content of the messages.
- B、Use the CreateBufferedCopy method of the Message class to load the messages into memory.
- C、Use the WriteBodyContents method of the BodyWriter class to make a copy of the messages.
- D、Use the CreateMessage method of the MessageBuffer class to make a copy of the messages.
正确答案:B,D
答案解析:有
微信扫一扫手机做题