Prakash,
Basically, it means that the type you are trying to serialize does not
have the Serializable attribute attached to it.
Make sure all the fields are serializable types, and then attach the
Serializable attribute to your type, and you should be good to go.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Prakash" <p.************@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
Hi Friends,
In my C# application, i have tried to serialize some structured data
using Soapformatter. While calling the serialize funciton i got the
exception message like
"mscorlib....The type <Appname>.<structurename> in Assembly <Appname>,
Version=1.0.2162.36249, Culture=neutral, PublicKeyToken=null is not
marked as serializable."
What is the meaning of the message and how can i solve this issue ?
Regards,
Prakash.