Initializes a new instance of the ArgumentOutOfRangeException with default properties.
[Visual Basic] Overloads Public Sub New() [C#] public ArgumentOutOfRangeException(); [C++] public: ArgumentOutOfRangeException(); [JScript] public function ArgumentOutOfRangeException();
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. |
ArgumentOutOfRangeException Class | ArgumentOutOfRangeException Members | System Namespace | ArgumentOutOfRangeException Constructor Overload List