title: WCF chokes on properties with no "set ". Any workaround?
body: <p>I have some class that I'm passing as a result of a service method, and that class has a get-only property:</p>
  
  <pre><code>[DataContract]
  public class ErrorBase
  {
    [DataMember]
    public virtual string Message { get { return ""; } }
  }
  </code></pre>
  
  <p>I'm getting an exception on service side:</p>
  
  <blockquote>
    <p>System.Runtime.Serialization.InvalidDataContractException:  No set
    method for property 'Message' in type 'MyNamespace.ErrorBase'.</p>
  </blockquote>
  
  <p>I have to have this property as only getter, I can't allow users to assign it a value. Any workaround I could use? Or am I missing some additional attribute?</p>