Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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