This documentation is archived and is not being maintained.

Troubleshooting Exceptions: System.ComponentModel.Win32Exception

The exception that is thrown for a Win32 error code.

Win32 error codes are translated from their numeric representations into a system message when they are displayed. Use the NativeErrorCode property to access the numeric representation of the error code.