Hashtable is not supported
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebservices' list.


Guruprasad TG
Hi,
I want to return a set of Name Value pair from my webservice....I =
used a
Hashtable but I got an error in the consumer client code=20
which said....

    <The type System.Collections.Hashtable is not supported because it
implements IDictionary >

Any replacements for this HashTable?

Thanks in advance,
Guru

Reply to this message...
 
    
KHALLERAN@hklaw.com
Apparently this is a known issue. Apparently some work arounds are to
create a name/value class which can be serialized and have that be your
return type. I'm planning on replacing my proposed hashtable with either an
xml document or a dataset.

Kevin

-----Original Message-----
From: Guruprasad TG [mailto:Click here to reveal e-mail address]
Sent: Wednesday, July 17, 2002 1:59 AM
To: aspngwebservices
Subject: [aspngwebservices] Hashtable is not supported

Hi,
I want to return a set of Name Value pair from my webservice....I used a
Hashtable but I got an error in the consumer client code
which said....

    <The type System.Collections.Hashtable is not supported because it
implements IDictionary >

Any replacements for this HashTable?

Thanks in advance,
Guru

| [aspngwebservices] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngwebservices.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
 
System.Collections.Hashtable
System.Collections.IDictionary




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com