IReposErrorQueueHandler Interface

Meta Data Services Programming

Meta Data Services Programming

IReposErrorQueueHandler Interface

Errors that occur while accessing a repository are saved on a 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.

When to Use

Use the IReposErrorQueueHandler 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.

Methods
IUnknown method Description
QueryInterface Returns pointers to supported interfaces
AddRef Increments the reference count
Release Decrements the reference count
IReposErrorQueueHandler 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

See Also

Handling Errors

Repository Class

REPOSERROR Data Structure