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

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top