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,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top