kejpa Posted February 1, 2006 Posted February 1, 2006 Hi, I have some troubles with my remote objects. My "middleman" looks like this Public Interface iMyProperties Inherits IDictionary(Of String, IProperty) End Interface Public Interface IProperty ReadOnly Property Properties() As Specialized.ListDictionary WriteOnly Property [Property]() As DictionaryEntry End Interface In the server I have a class marshaled that implements iMyProperties, one of my classes contains numeric only ListDictionary that implements IProperty.Properties and receiving it in the client as a ListDictionary is no problem. Another class has Strings in the ListDictionary and if I have more than one item there I get a SerializationException, one item is no problem :confused: Can anyone please help me? /Kejpa Quote
kejpa Posted February 2, 2006 Author Posted February 2, 2006 Hi all, problem solved. It's using properties that caused the problem, changing it to a function and a sub solved it halfways, returning only strings and numbers made the rest work. My "middleman" now looks like this Public Interface iMyProperties Inherits IDictionary(Of String, IProperty) End Interface Public Interface IProperty Function Properties() As Specialized.ListDictionary Sub [Property](value As DictionaryEntry) End Interface /Kejpa Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.