title: Message Queue Error: cannot find a formatter capable of reading message
body: <p>I'm writing messages to a Message Queue in C# as follows:</p>
  
  <pre><code>queue.Send(new Message("message"));
  </code></pre>
  
  <p>I'm trying to read the messages as follows:</p>
  
  <pre><code>Messages messages = queue.GetAllMessages();
  foreach(Message m in messages)
  {
    String message = m.Body;
    //do something with string
  }
  </code></pre>
  
  <p>However I'm getting an error message which says: "Cannot find a formatter capable of reading this message."</p>
  
  <p>What am I doing wrong?</p>