Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

_Exception::Message Property

 

Provides COM objects with version-independent access to the Exception::Message property.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

property String^ Message {
	String^ get();
}

Property Value

Type: System::String^

The error message that explains the reason for the exception, or an empty string("").

This method is for access to managed classes from unmanaged code and should not be called from managed code.

The Exception::Message property gets a message that describes the current exception.

.NET Framework
Available since 2.0
Return to top
Show: