IRepositoryErrorQueue::Insert

Meta Data Services Programming

Meta Data Services Programming

IRepositoryErrorQueue::Insert

This method inserts a new element into the error queue. The element can either be inserted at a specific location in the queue, or it can be appended to the end of the queue.

HRESULT Insert(     ULONG               iIndex,
    REPOSERROR   *psError
);

Parameters

iIndex

[in]
The index of the location in the error queue where this element is to be inserted. To insert an element at the beginning of the error queue, set this parameter to one. To append the element to the end of the error queue, set this parameter to zero.

*psError

[in]
The error information for the element to be inserted. The information from this structure is copied, and the copy is placed on the error queue.

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

See Also

IRepositoryErrorQueue

REPOSERROR Data Structure