IRepositoryErrorQueue::Item

Meta Data Services Programming

Meta Data Services Programming

IRepositoryErrorQueue::Item

This method retrieves the specified element from the error queue. There are two variations of this method.

HRESULT Item(     ULONG               iIndex,
    REPOSERROR   *psError
);

HRESULT Item(
    ULONG        iIndex,
    IErrorInfo    **ppIErrorInfo
);

Parameters

iIndex

[in]
The index of the location in the error queue of the element to be retrieved.

*ppError

[out]
The repository error information structure with information from the retrieved element.

*ppIErrInfoObj

[out]
The interface pointer to an error information object for the retrieved element.

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

See Also

IRepositoryErrorQueue

REPOSERROR Data Structure