FormatterServices.GetUninitializedObject On Compact FrameWork?

T

tsteinke

Is there an alternative to or does anyone know of a way to implement
FormatterServices.GetUninitializedObject

on the Compact Framework? I am writeing a Formatter and I need it

Thanks

Tom
 
T

tsteinke

Activator.CreateInstance() calls the constructor of the obect, and
requires the object to have a parameterless constrcutor. So it is not a
solution for a genereic Deserlization class.
 
I

Ilya Tumanov [MS]

That is correct, if you use that your serializer would be a little bit less
generic.



There are some pretty good reasons there is no binary serialization in
NETCF, this one is probably the least important.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top