Share via


ArgumentException Constructor

Initializes a new instance of the ArgumentException class.

Overload List

Name Description
ArgumentException () Initializes a new instance of the ArgumentException class.
ArgumentException (String) Initializes a new instance of the ArgumentException class with a specified error message.
ArgumentException (String, Exception) Initializes a new instance of the ArgumentException class with a specified error message and a reference to the inner exception that caused the current exception.
ArgumentException (String, String) Initializes a new instance of the ArgumentException class with a specified error message and the name of the parameter that caused this exception.
ArgumentException (String, String, Exception) Initializes a new instance of the ArgumentException class with a specified error message, the parameter name, and a reference to the inner exception that caused the current exception.

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