← Interactive API Explorer
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.
ParameterDescription
messageThe error message that explains the reason for the exception.