Namespace: System
ArgumentNullException
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
Methods (1)
ArgumentNullException(String)Constructor
Initializes a new instance of the ArgumentNullException class with the name of the parameter that causes this exception.
| Parameter | Description |
|---|---|
| paramName | The name of the parameter that caused the exception. |