I seem to have run into a problem serializing delegates with MSMQ and I am
wondering if it is a general problem. When I use the Xml formatter with MSMQ
and I have a delegate in the class that is to be serialized I get an error
"Problem reflecting . . .". If I user the binary formatter and mark the
class as [Serializable] the object seems to get sent but it never ends up in
the queue.  Is there a general problem with serializing delegates? Would it
be possible to serialize the delegate using the methods within the delegate
class to a string and pass that through MSMQ? Or is there more information
required other than in the serialized data to call an instance delegate?

Thank you for any pointers.

Kevin Burton


You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to