ExternalException.ErrorCode 屬性

定義

明白 HRESULT 了錯誤。

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

屬性值

錯誤的部分 HRESULT

備註

請參閱 常見 HRESULT 值 ,列出較常遇到的錯誤代碼。 HRESULT 值定義於 Winerror.h 標頭檔案中。

適用於