On your custom class did you do the following?:
- Mark your class with the [DataContract] attribute.
- Mark your class with the [DiscoverableType(DiscoverableTypeMode.KnownType)] attribute OR have your class implement IKnownType (a marker interface).
- Have each serializable property in the class marked with the [DataMember] attribute.
Edited by ting - 07-Apr-2010 at 5:23pm