IRepositoryErrorQueue Interface

Meta Data Services Programming

Meta Data Services Programming

IRepositoryErrorQueue 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. Individual elements on a repository error queue can be managed in much the same way that elements can be managed in other repository collections. This interface provides those management capabilities.

When to Use

Use the IRepositoryErrorQueue interface to manage the errors that belong to a particular repository error queue. With this interface, you can:

  • Get a count of the number of error elements in the collection.

  • Enumerate the elements in the collection.

  • Insert and remove error elements to and from the collection.

  • Retrieve one of the error elements in the collection.
Methods
IUnknown method Description
QueryInterface Returns pointers to supported interfaces
AddRef Increments the reference count
Release Decrements the reference count

IRepositoryErrorQueue method Description
Count Returns a count of the number of errors on the queue
Insert Inserts a new error onto the error queue, in the specified location
Item Retrieves the specified error from the error queue
Remove Removes the specified error from the error queue
_NewEnum Creates an enumerator object for the error queue

See Also

Error Handling Overview

Handling Errors

IReposErrorQueueHandler Interface

REPOSERROR Data Structure