05-24-06 06:14 PM
Ok, I found out what was the problem.
I was using a custom type which I had created to get around the XmlNodeList
not being serializable. My workaround for this was to create a custom
XmlNodeList that "pretended" to be serializable. Basically, I had the
serializable attribute and the ISerializable interface, but no implementatio
n
code for the interface (because I did not need it at the time).
So, things were working fine until I had to introduce the delay shape. The
delay shape will dehydrate and hydrate the message (i.e. serialization). So,
I was getting the NullReference exception because my custom type did not
really know how to be serialized / deserialized.
So, just by adding the implementation code for the ISerializable interface
in the custom type, the problem was solved.
Jon Flanders talks about this at:
http://www.traceofthought.net/Perma...dd.
aspx
Thank you Eric; and thank you Jon.
Fady
========================================
==
"Eric Stott" wrote:
> What is the logic you have in the delay shape?
> "Fady" <Fady@discussions.microsoft.com> wrote in message
> news:F1DC9B8F-EE68-4D08-9D2F-F0C5AC53C9EF@microsoft.com...
>
>
>
[ Post a follow-up to this message ]
|