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

题目

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 na ”相关问题
  • 第1题:

    – David, you've been losing your temper over nothing lately.– ( ).

    A. I haven’t been getting much sleep either

    B. You’d better not push yourself too hard, or you’ll get sick

    C. I’m sorry. I shouldn’t have blown up like that

    D. You’d better do exercises regularly


    正确答案:C

  • 第2题:

    Me,you是两个初始集合,则下列关于派生集合定义方式正确的是

    A.link/me,you/:a;

    B.link(me,you):a;

    C.link/me you/a;

    D.link(me,you)/a;


    link(me,you):a;

  • 第3题:

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


    正确

  • 第4题:

    You've misspelled this word again.You'd better look it up ()

    此题为判断题(对,错)。


    参考答案:对

  • 第5题:

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


    正确

  • 第6题:

    你最好控制一下上网聊天的时间。(汉译英)

    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.


    You'd better set a limit on your online chatting time.