Initializes a new instance of the ArgumentNullException with default properties.
[Visual Basic] Overloads Public Sub New() [C#] public ArgumentNullException(); [C++] public: ArgumentNullException(); [JScript] public function ArgumentNullException();
ArgumentException inherits from the Exception class. This constructor sets the properties of the Exception object as follows:
Property Type | Condition |
---|---|
InnerException | null |
Message | The empty string. |
ArgumentNullException Class | ArgumentNullException Members | System Namespace | ArgumentNullException Constructor Overload List