ExternalException.ErrorCode Property


Gets the HRESULT of the error.

 virtual property int ErrorCode { int get(); };
public virtual int ErrorCode { get; }
member this.ErrorCode : int
Public Overridable ReadOnly Property ErrorCode As Integer

Property Value

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.

Applies to