The ArgumentNullException class implements an instance of an error occurring during an attempt to pass the Null value to a property (method), which does not accept it as an allowed value.
Constructor name | Brief description | |
Create | The Create constructor creates an instance of error. |
Property name | Brief description | |
The ParamName property returns name of the parameter that is invalid when a property (method) is called. |
Property name | Brief description | |
Line | The Line property returns the number of the line, which execution throws an exception. | |
Message | The Message property returns an error message. | |
MessageID | The MessageID property returns the numeric identifier of an error. | |
NestedException | The NestedException property returns the error, which caused the current exception. | |
Source | The Source property returns the information about the error source. |
Method name | Brief description | |
ReportError | The ReportError method displays an error report. |
See also: