ExternalException.ErrorCode Property

Definition

Gets the HRESULT of the error.

public:
 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.

Remarks

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