ExternalException.ErrorCode 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
明白 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 標頭檔案中。