IBackgroundCopyError::GetError method (bits.h)
Retrieves the error code and identify the context in which the error occurred.
Syntax
HRESULT GetError(
[out] BG_ERROR_CONTEXT *pContext,
[out] HRESULT *pCode
);
Parameters
[out] pContext
Context in which the error occurred. For a list of context values, see the BG_ERROR_CONTEXT enumeration.
[out] pCode
Error code of the error that occurred.
Return value
This method returns S_OK on success or one of the standard COM HRESULT values on error.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP |
Minimum supported server | Windows Server 2003 |
Target Platform | Windows |
Header | bits.h |
Library | Bits.lib |
DLL | QmgrPrxy.dll |
See also
IBackgroundCopyError::GetErrorContextDescription
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for