Constructs and initializes a new instance of the NotFiniteNumberException class.
- offendingNumber
- A double that specifies the value of the argument that caused the Exception.
This constructor initializes the NotFiniteNumberException.Message property of the new instance to a system-supplied message that describes the error, such as "The number encountered was not a finite quantity." This message takes into account the current system culture.
This constructor initializes the NotFiniteNumberException.OffendingNumber property using offendingNumber. The NotFiniteNumberException.InnerException property is initialized to null .
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0