Share via


Troubleshooting Exceptions: System.ComponentModel.Win32Exception

The exception that is thrown for a Win32 error code.

Remarks

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.

See Also

Tasks

How to: Use the Exception Assistant

Concepts

Where Can I Look Up Win32 Error Codes?

Reference

Win32Exception