"SoapFormatter" in System.Runtime.Serialization.Formatters.Soap?

G

Guest

I'm trying to use a SoapFormatter object but I can't seem to do a...
using System.Runtime.Serialization.Formatters.Soap;

Says that there's no "Soap" in "Formatters". Any ideas?

Alex
 
S

Steven Cheng[MSFT]

Hello Alex,

Thank you for posting.

As for the "System.Runtime.Serialization.Formatters.Soap" namespace you
mentioned, the classes of this namespace are define in the
System.Runtime.Serialization.Formatters.Soap.dll assembly rather than the
mscorlib.dll. Therefore, you need to add the reference to the
System.Runtime.Serialization.Formatters.Soap.dll assembly before you
importing or using any types under this namespace.

BTW, I've also found your another thread discussing on the class/object
serialization, I'll also update you in that thread about some suggestion on
object/data serialization.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

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

Top