title: with azure brokeredmessage get the body without knowing the type
body: <p>When you are using the brokered message in the Azure Service Bus, you can retrieve the body of the message with the call .GetBody.  The code is simple:</p>
  
  <pre><code>var msg = subscription.Receive();
  MyPayload payload = msg.GetBody&lt;MyPayload&gt;();
  </code></pre>
  
  <p>However, is there a way to retrieve the Body without explicitly knowing the class of the body object?</p>
  
  <pre><code>var msg = subscription.Receive();
  Type bodyType = Type.GetType( msg.ContentType);
  
  var payload = msg.GetBody&lt;bodyType&gt;();
  </code></pre>