The IArgumentException interface contains properties of the exception occurring when an invalid argument is passed to a method or property.
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: