COMException::HResult Property
Collapse the table of content
Expand the table of content

COMException::HResult Property


The HRESULT that corresponds to the exception.

public:property int HResult {    int get();}

An HRESULT value that specifies the error.

For more information about how to interpret the HRESULT value, see Structure of COM Error Codes.


Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Header: vccorlib.h

© 2016 Microsoft