ComErrorException.ComHResult 屬性

定義

取得與這個例外狀況相關聯的錯誤碼 (HRESULT) 值。

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

屬性值

Int32

錯誤碼 (HRESULT)。

適用於