title: How to send customer-defined type through MessageQueue
body: <p>Given this event</p>
  
  <pre><code> public class DummyEvent : EventDTO{
      public CustomUUID Cid { get; set; }
      public DateTime Date { get; set; }
      public Guid Id { get; set; }
  }
  </code></pre>
  
  <p>I'm sending messages via MSMQ:</p>
  
  <pre><code> var de = new DummyEvent {
                                 Date = DateTime.UtcNow, 
                                 Id = Guid.NewGuid(), 
                                 Cid = Guid.NewGuid()
                             };
   var mq = new MessageQueue(AppSettings.EventQueue);                            
   mq.Formatter = new XmlMessageFormatter(new[]{de.GetType()});
   mq.Send(de);
   var e = reciever.Receive().Body;
  </code></pre>
  
  <p>Date is <em>System.DateTime</em> so it gets deserialized <strong>ok</strong>.<br>
  Id is <em>System.Guid</em> so it gets deserialized <strong>ok</strong>.<br>
  Cid is <em>CustomUUID</em> which is a user defined type that <strong>doesnt get deserialized</strong>. </p>
  
  <p>I need to send customer-defined types as well, but there is scarce info on the net.</p>
  
  <p><strong>EDIT</strong>: It actually doesn't get serialized, so the problem is at Sending the message</p>