Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Win32Exception::NativeErrorCode Property

 

Gets the Win32 error code associated with this exception.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
property int NativeErrorCode {
	int get();
}

Property Value

Type: System::Int32

The Win32 error code associated with this exception.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft