System.ArgumentException Members

The members of System.ArgumentException are listed below.

See Also: Inherited members from System.SystemException

Public Constructors

Initializes a new instance of the ArgumentException class.

Initializes a new instance of the ArgumentException class with a specified error message.

Initializes a new instance of the ArgumentException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Initializes a new instance of the ArgumentException class with a specified error message and the name of the parameter that causes this 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 is the cause of this exception.

Protected Constructors

Public Properties

[read-only]
override
Messagestring.

Gets the error message and the parameter name, or only the error message if no parameter name is set.

[read-only]
ParamNamestring.

Gets the name of the parameter that causes this exception.

Public Methods