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
[C#]
public virtual int ErrorCode {get;}
[C++]
public: __property virtual int get_ErrorCode();
[JScript]
public function get ErrorCode() : int;

Property Value

The HRESULT of the error.

Requirements

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

Show: