>Your oApp objects are different, but they may have properties that refer to the same object. For example, if your oApp has an oConnection property, (oProcess.oApp Is App.oApp) might return false whereas (oProcess.oApp.oConnection Is App.oApp.oConnection) could still return true. To make sure all of your reference properties are cloned and not referring to the same instance, you will need to do a deep copy.
Yep, and to do a deep copy, I have to serialize a bunch of things in the App class. This is getting complicated.
Especially when I get a message like this:
"Type 'System.Web.HttpRequest' in Assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable."
on that line:
Public oRequest As System.Web.HttpRequest