IEnumRepositoryErrors::Next

See Also

Use this method to retrieve the next one or more elements from the enumeration. There are two variations of this method.

HRESULT Next(
ULONG iCount,
REPOSERR *psErrors,
ULONG *piFetched
);

HRESULT Next( IErrorInfo **ppIErrorInfo );

Parameters

iCount

[in]
The number of elements the caller is requesting.

*psErrors

[out]
The array of Repository error information structures for the retrieved items.

*ppIErrorInfo

[out]
The interface pointer to the error information object for the first element in the error queue.

*piFetched

[out]
The number of elements actually fetched for the caller.

Return Value

S_OK

The method completed successfully.

Error

Values

This method failed to complete successfully.