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.

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.


相关考题:

You’d better have a rest. Let us do it, ________ you? A.doB.don’tC.willD.will not

Tom: You are playing guitar well. Can you read music? Charles: No, I don't. I just listen to songs on the radio and then play them until they sound right. Tom: ______ Charles: No, really.A.You're lyingB.You're cheatingC.You are boastingD.You're kidding

Does modern logistics mean transportation and delivery?()Modern logistics is more about effective and efficient flow of materials and information.A、 Yes, you’re rightB、 No, it’s not the whole storyC、 No, you' re wrong

You’re such a hardworking student, you()the praise. A、reserveB、deserveC、conserveD、preserve

– David, you've been losing your temper over nothing lately.– ( ).A. I haven’t been getting much sleep eitherB. You’d better not push yourself too hard, or you’ll get sickC. I’m sorry. I shouldn’t have blown up like thatD. You’d better do exercises regularly

You've misspelled this word again.You'd better look it up () 此题为判断题(对,错)。

Me,you是两个初始集合,则下列关于派生集合定义方式正确的是A.link/me,you/:a;B.link(me,you):a;C.link/me you/a;D.link(me,you)/a;

24、将文献导入EndNote后,再安装Cite-While-You-Write插件,用户使用WORD撰写论文时便可实现参考文献的边写边插。

将文献导入EndNote后,再安装Cite-While-You-Write插件,用户使用WORD撰写论文时便可实现参考文献的边写边插。

你最好控制一下上网聊天的时间。(汉译英)A.You'd better set a limit for your online chat time.B.You'd better set a limit on your online chat time.C.You'd better set a limit on your online chatting time.D.You'd better set a limit for your online chatting time.