I find out that sometimes in IO operations common IOException is thrown. I can use Marshal.GetHRForException(Exception e) method (found here) in order to determine the specific error code. After that, I want to re-throw an exception, using my application specific error code, in order to give the user some tips what has gone wrong. But I was unable to find the list of possible HResult values for IOException.
One more thing I'm stuck with is that for different HResult codes root cause can be the same - for example, 0x8007052E and 0x80070569 - both correspond to Logon failure: unknown user name or bad password.
I have tried to search something like "IOException HResult values" but there was nothing special for mapping IOException HResult with human-readable error (like this or this).
I have also seen the question here, which is very similar, but there still no solution.
So, where is the documentation about IOException HResults values?