ConvertException function (dbgmodel.h)
Trap and convert all exceptions coming out of a functor to an appropriate HRESULT.
C++ Specific API Helper.
Syntax
HRESULT ConvertException(
const FN & fn
);
Parameters
fn
An HRESULT returning functor. If the functor throws an exception, the exception will be caught and converted to an HRESULT.
Return value
This function returns HRESULT.
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |
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