Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Triggers the Global Error Handler when a delegate failure occurs.
Syntax
HRESULT RoReportFailedDelegate(
[in] IUnknown *punkDelegate,
[in] IRestrictedErrorInfo *pRestrictedErrorInfo
);
Parameters
[in] punkDelegate
The delegate to report.
[in] pRestrictedErrorInfo
The error to report. Call the GetRestrictedErrorInfo function to get the IRestrictedErrorInfo that represents the error.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | roerrorapi.h |
| Library | RuntimeObject.lib |