Retrieves a code that identifies the type of the exception that occurred.
The type of the exception.
Marshal.GetExceptionCode is exposed for compiler support of structured exception handling (SEH) only. If this method is called before an exception is thrown, it returns 0x0.