|
-
Apr 8th, 2010, 01:55 PM
#3
Thread Starter
Fanatic Member
Re: XML Serialization/Deserialization
I thought it would handle it a bit better as well. So what I did for my test is serialized my object and then extended my class by adding a readonly property. I then tried to deserialize the object and get the following error:
Error in line 1 position 132. 'Element' 'iNumber' from namespace 'http://schemas.datacontract.org/2004/07/TestApp' is not expected. Expecting element 'bNewProperty'.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|