If you are programming with COM interfaces, you can retain error queue information while you switch to other error queues or work with other repository objects.
You can access only one repository error queue at a time. When you switch from one error queue to another, several things occur automatically:
Consequently, if you switch from one error queue to a second error queue and then back to the first error queue, the first error queue is destroyed and then re-created as an empty queue.
To switch between multiple error queues and retain all error queue information
Note You must repeat these steps for each error queue.
The error queues will be retained as long as you hold these explicit interface references.
To switch back and forth between error queues
Accessing Error Information at the COM Level