ComErrorException.ComHResult Property

Definition

Gets the error code (HRESULT) value associated with this exception.

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

Property Value

Int32

The error code (HRESULT).

Applies to