COMException::HResult Property

The HRESULT that corresponds to the exception.

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

© 2014 Microsoft