Someone Needs to be Shot
So, I am working with some ServicedComponents so that I can use COM+ transactions. For some reason, every time my method returns, all my fields are null. It doesn't make sense to me, so I step through the program to see what is going on. The set methods are called sure enough and the properties are indeed being set properly. So, I do a google search and find in a newsgroup posting from MS developer support that this is the "Expected behavior" for any ServicedComponent which has a method marked as AutoComplete. As soon as the method returns, the object will be destroyed. So, if you have any fields, they will be reset. Now, I have two questions: who is the moron on the .NET team that thought that was a good idea? Has he been fired yet?
Why the hell would I want to use objects that randomly lose their state?