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

屬性值

Int32

取得錯誤的 HRESULT

備註

如需較常遇到的錯誤碼清單,請參閱 常見的 HRESULT 值HRESULT 值定義于 Winerror.h 標頭檔中。

適用於