System.ComponentModel.Win32Exception Class

Throws an exception for a Win32 error code.

See Also: Win32Exception Members


public class Win32Exception : System.Runtime.InteropServices.ExternalException


Win32 error codes are translated from their numeric representations into a system message when they are displayed. Use Win32Exception.NativeErrorCode to access the numeric representation of the error code associated with this exception. For more information about the error codes, see "Win32 Error Codes" in the Platform SDK documentation at tp://


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,