Hi all,
I am developing a WCF application and i can send simple DataContract classes without problems. But when i try to send a class having a different type of class as a field, i get CommunicationException. Class structure is like below;
And i also defined both ClassB and ClassC as DataContract. I don't know if i am doing something wrong. Any help would be appreciated.Code:[DataContract] public class ClassA { [DataMember] public ClassB myObject1; [DataMember] public ClassC myObject2; }




Reply With Quote