ExternalException::ErrorCode Property

 

Gets the HRESULT of the error.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

public:
property int ErrorCode {
	virtual int get();
}

Property Value

Type: System::Int32

The HRESULT of the error.

See Common HRESULT values for a list of the more frequently encountered error codes. HRESULT values are defined in the Winerror.h header file.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: