Hi,
Disappointingly, I think I already know the answer to this question.
I have a C# class which I'm effectively using as a storage area while
I carry out a sequence of Web Method calls on a third party web
service. The class stores the types returned from each call for the
subsequent method call as they are designed to be done sequentially.
I decided as part of my error handling to try and store the storage
object on a failure; this would be in addition to the event log I was
creating along the way. I made the storage object serializable and put
the code in to convert it to a byte[], unfortunately the types
supplied by third party aren't serializable so it won't work.
Can anyone tell me a way to store this object in my MSSQL database for
inspection on error? There are a not insignificant number of values
stored in it, so it'd be nice to do it as a lump.
Thanks in advance
Owen