ExternalException.ErrorCode ExternalException.ErrorCode ExternalException.ErrorCode ExternalException.ErrorCode Property

定义

获取错误的 HRESULTGets 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

属性值

错误的 HRESULTThe HRESULT of the error.

注解

有关出现的错误代码的列表, 请参阅常见的 HRESULT 值See Common HRESULT values for a list of the more frequently encountered error codes. HRESULT值是在 Winerror.h 头文件中定义的。HRESULT values are defined in the Winerror.h header file.

适用于