Errors that occur while accessing a repository are saved on a Microsoft® Repository error queue. A Repository error queue is a collection of REPOSERROR structures. Each thread of execution with an open Repository instance can access one active error queue at a time.
Use the IRepositoryErrorQueueHandler interface to create a Repository error queue, assign an error queue to a thread of execution, or retrieve an interface pointer to a thread's currently assigned error queue.
| IUnknown Method | Description | 
| QueryInterface | Returns pointers to supported interfaces. | 
| AddRef | Increments the reference count. | 
| Release | Decrements the reference count. | 
| IRepositoryErrorQueueHandler Method | Description | 
| CreateErrorQueue | Creates a new repository error queue. | 
| SetErrorQueue | Sets the active error queue for a thread. | 
| GetErrorQueue | Retrieves an interface pointer to the currently active error queue for a thread. |