IDebugHostErrorSink::ReportError method (dbgmodel.h)
The ReportError method is a callback on the error sink to notify it that an error has occurred and allow the sink to route the error to whatever UI or mechanism is appropriate.
Syntax
HRESULT ReportError(
ErrorClass errClass,
HRESULT hrError,
PCWSTR message
);
Parameters
errClass
An enumeration of type ErrorClass which indicates what class the error is (e.g.: warning or error)
hrError
The HRESULT of the error which occurred.
message
An optional message associated with the error.
Return value
This method returns HRESULT that indicates success or failure.
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |
See also
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