Exception class has HRESULT as protected member. Is there a header file or tool to get the entire mapping of C# Exception to HRESULT? Any tools / header file / links appreciated
Exception class has HRESULT as protected member. Is there a header file or tool to get the entire mapping of C# Exception to HRESULT? Any tools / header file / links appreciated.
If you are looking for what the hresult number resolves to, there is (was) a
tool that shipped w/ VS called ErrorLookup that would translate the numeric
result into something a little more meaningful.
Also, you can (could) view the value in the watch window and append ,hr and it
would also perform the translation. Something like: