Gets the error message that explains the reason for the exception.
A string containing the error message. The error message should describe the expected values of the parameter that causes this exception.
This property is read-only.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0