This documentation is archived and is not being maintained.

ExternalException.ErrorCode Property

Gets the HRESULT of the error.

[Visual Basic]
Public Overridable ReadOnly Property ErrorCode As Integer
public virtual int ErrorCode {get;}
public: __property virtual int get_ErrorCode();
public function get ErrorCode() : int;

Property Value

The HRESULT of the error.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ExternalException Class | ExternalException Members | System.Runtime.InteropServices Namespace