Click here to Skip to main content
15,901,122 members
Home / Discussions / C#
   

C#

 
GeneralRe: A general question about objects Pin
Christer Claesson20-May-04 3:30
Christer Claesson20-May-04 3:30 
GeneralRe: A general question about objects Pin
Heath Stewart20-May-04 3:41
protectorHeath Stewart20-May-04 3:41 
GeneralRe: A general question about objects Pin
Christer Claesson20-May-04 4:02
Christer Claesson20-May-04 4:02 
GeneralRe: A general question about objects Pin
Grimolfr20-May-04 3:13
Grimolfr20-May-04 3:13 
GeneralRe: A general question about objects Pin
Heath Stewart20-May-04 3:34
protectorHeath Stewart20-May-04 3:34 
GeneralRe: A general question about objects Pin
Grimolfr20-May-04 5:09
Grimolfr20-May-04 5:09 
GeneralRe: A general question about objects Pin
Heath Stewart20-May-04 5:25
protectorHeath Stewart20-May-04 5:25 
GeneralRe: A general question about objects Pin
Grimolfr20-May-04 5:52
Grimolfr20-May-04 5:52 
I've never run into it personally, but I read a forum message (on gotdotnet.com, IIRC) where a guy was serializing an object with SerializableAttribute, and not implementing ISerializable or providing a serialization constructor.

Problem was, the default serialization mechanism would serialize the function pointers assigned to any events. When he deserialized, the pointers were invalid, and caused all sorts of problems.

His actual issue in the post was that the NonSerializableAttribute applies to fields only, and not to events.

This was awhile ago, though. The default serialization functionality may have changed in 1.1 to not serialize event function pointers.


Grim
(aka Toby)
MCDBA, MCSD, MCP+SB

GeneralRe: A general question about objects Pin
Heath Stewart20-May-04 5:57
protectorHeath Stewart20-May-04 5:57 
GeneralOne more simple question if someone have time. Pin
Christer Claesson20-May-04 5:18
Christer Claesson20-May-04 5:18 
Generaldll that is seen by multiple exe's Pin
jspano20-May-04 2:21
jspano20-May-04 2:21 
GeneralRe: dll that is seen by multiple exe's Pin
Heath Stewart20-May-04 3:01
protectorHeath Stewart20-May-04 3:01 
GeneralRe: dll that is seen by multiple exe's Pin
jspano20-May-04 14:31
jspano20-May-04 14:31 
GeneralXmlSerializer Pin
Sean Rock20-May-04 1:45
Sean Rock20-May-04 1:45 
GeneralRe: XmlSerializer Pin
Heath Stewart20-May-04 2:54
protectorHeath Stewart20-May-04 2:54 
GeneralRe: XmlSerializer Pin
Sean Rock20-May-04 3:02
Sean Rock20-May-04 3:02 
GeneralRe: XmlSerializer Pin
Heath Stewart20-May-04 3:26
protectorHeath Stewart20-May-04 3:26 
GeneralRe: XmlSerializer Pin
Sean Rock20-May-04 3:37
Sean Rock20-May-04 3:37 
GeneralRe: XmlSerializer Pin
Dave Kreskowiak20-May-04 3:48
mveDave Kreskowiak20-May-04 3:48 
GeneralRe: XmlSerializer Pin
Sean Rock20-May-04 3:51
Sean Rock20-May-04 3:51 
Generalconvert a field to checkbox sql reporting services Pin
robmays20-May-04 1:11
robmays20-May-04 1:11 
GeneralDBase file access in C# Pin
IJay20-May-04 1:04
IJay20-May-04 1:04 
GeneralRe: DBase file access in C# Pin
Anthony_Yio20-May-04 1:11
Anthony_Yio20-May-04 1:11 
GeneralRe: DBase file access in C# Pin
sreejith ss nair20-May-04 2:18
sreejith ss nair20-May-04 2:18 
GeneralRe: DBase file access in C# Pin
IJay20-May-04 2:20
IJay20-May-04 2:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.