Read WCF Message body twice - "Message Cannot be read" -


I have a WCF message (Channels.Message) that I am trying to remove from the body. However, I think I can do it only once, and if I'm trying to use "GetBody"> I'm getting: "This message can not support operation because It has been read. "

Any ideas how can I read the message body again?

Thanks

What you are trying to do on MSDN There is a very good article in the section to see a message titled titled titled in a buffer. It clearly talks about reaching the body more than once.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -