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