|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Deserialization version mismatchI've added a property to one of my classes and now, when I deserialize it I
am getting a version mismatch. How to you add or subtract properties in classes that are being serialized / desererialized??? Thanks! Clark Can only do that if you handle the mapping yourself by implementing
ISerializable. Sam On Sun, 10 Apr 2005 22:28:16 -0500, "Clark Sann" <cs***@earthlink.net> B-Line is now hiring one Washington D.C. area VB.NET wrote: >I've added a property to one of my classes and now, when I deserialize it I >am getting a version mismatch. How to you add or subtract properties in >classes that are being serialized / desererialized??? > >Thanks! > >Clark > developer for WinForms + WebServices position. Seaking mid to senior level developer. For information or to apply e-mail resume to sam_blinex_com. Samuel,
I am also facing the same problem. I implemented the Iserializable interface, But the Application sends a Possible Version Mismatch exception. This exception occurs before the deserialization constructor is called. Rohith Show quoteHide quote "Samuel R. Neff" wrote: > > Can only do that if you handle the mapping yourself by implementing > ISerializable. > > Sam > > > On Sun, 10 Apr 2005 22:28:16 -0500, "Clark Sann" <cs***@earthlink.net> > wrote: > > >I've added a property to one of my classes and now, when I deserialize it I > >am getting a version mismatch. How to you add or subtract properties in > >classes that are being serialized / desererialized??? > > > >Thanks! > > > >Clark > > > > B-Line is now hiring one Washington D.C. area VB.NET > developer for WinForms + WebServices position. > Seaking mid to senior level developer. For > information or to apply e-mail resume to > sam_blinex_com. >
cint and int32.parse
Hide unwanted properties. Can't destroy Excel Process; tried Just about everything! NullReferenceException when setting to array list My application exits after handling an ApplicationException How to catch a right-click Error after removing row and then adding new row to datatable How to copy files from desktop to web server Naming convention for objects Re: Freeze Column in DataGrid |
|||||||||||||||||||||||