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
This method failed to complete successfully.