ArgumentNullException
Description:
The exception that is thrown when is passed to a method that does not accept it as a valid argument.
The exception that is thrown when is passed to a method that does not accept it as a valid argument.
Inheritance Hierarchy:
System.Object
System.Exception
Autodesk.Revit.Exceptions.ApplicationException
Autodesk.Revit.Exceptions.ArgumentException
Autodesk.Revit.Exceptions.ArgumentNullException
System.Object
System.Exception
Autodesk.Revit.Exceptions.ApplicationException
Autodesk.Revit.Exceptions.ArgumentException
Autodesk.Revit.Exceptions.ArgumentNullException
[SerializableAttribute]
public class ArgumentNullException : ArgumentException
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| GetObjectData(SerializationInfo, StreamingContext) | None | Retrieves data needed to serialize the target object. | |
| GetObjectData(SerializationInfo, StreamingContext) | None | Retrieves data needed to serialize the target object. | ApplicationException |
| GetObjectData(SerializationInfo, StreamingContext) | None | Retrieves data needed to serialize the target object. | ArgumentException |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| FunctionId | FunctionId | The information of the function throwing the exception. | ApplicationException |
| Message | string | Gets the error message and the parameter name, or only the error message if no parameter name is set. | ArgumentException |
| ParamName | string | Gets the name of the parameter that causes this exception. | ArgumentException |