Namespace: System
ArgumentException
The exception that is thrown when one of the arguments provided to a method is not valid.
Methods (1)
ArgumentException(String)Constructor
Initializes a new instance of the ArgumentException class with a specified error message.
| Parameter | Description |
|---|---|
| message | The error message that explains the reason for the exception. |