Share via


ArgumentException.Message Property

Gets the error message associated with this exception.

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

Syntax

public virtual string Message { get; }

Property Value

A text string that describes the details of the exception. This string should be human-readable and localized for the current system culture.

Remarks

This property overrides the Exception.Message property.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

ArgumentException Class
ArgumentException Members
System Namespace