I have some class that I\'m passing as a result of a service method, and that class has a get-only property:
[DataContract] public class ErrorBase { [DataM
If you only have a getter, why do you need to serialize the property at all. It seems like you could remove the DataMember attribute for the read-only property, and the serializer would just ignore the property.