RETURNING HASHTABLE FROM WEBSERVICE

V

VSK

Hi all,

The definition of Hashtable as per .NET docmentation is :
[Serializable]
public class Hashtable : IDictionary, ICollection, IEnumerable,
ISerializable, IDeserializationCallback, ICloneable

When Hashtable implements Serializable interface why am getting this
exception when i try to use Hashtable in webservice.
Error message is : "System.NotSupportedException: The type
System.Collections.Hashtable is not supported because it implements
IDictionary"

Is the above message saying that Hashtable cannot be serailized or something
else.

Please throw some light on the issue.

Thanks
VSK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,075
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top