Windows Dev Center

Exception::Message Property

Message that describes the error.

property String^ Message;

In exceptions that originate in the Windows Runtime, this is a system-supplied description of the error.

In Windows 8, this property is read-only because exceptions in that version of the Windows Runtime are transported across the ABI only as HRESULTS. In Windows 8.1, richer exception information is transported across the ABI and you can provide a custom message that other components can access programmatically. For more information, see Exceptions (C++/CX).

Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: platform.winmd

© 2015 Microsoft