|
-
April 18th, 2011, 03:24 PM
#1
Marking Assembly Classes as Serializable!
Hi,
I am new to C# and the group! I am trying to use Serialization code to write a binary file for storing, but it is giving RunTime SerializationException: that some of the classes in an assembly are not marked as serializable. I am working with a code base for a project and have access to its code, so changed a number of classes by introducing [serializable] attribute. Now I am getting the same error for System.Timers.Timer, is that possible to mark it serializable, tried searching to get something but couldn't. Thanks for any help from the community!
Best,
Umar
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
|