Occurs before an Object Space is disposed of.
The event handler receives an argument of the EventHandler type.
This event is raised as a result of calling the BaseObjectSpace.Dispose method. This method releases all resources allocated by the ObjectSpace and speeds up system performance. Handle this event to release custom resources before the current Object Space is disposed of.