System.NotFiniteNumberException Class

The exception that is thrown when a floating-point value is positive infinity, negative infinity, or Not-a-Number (NaN).

See Also: NotFiniteNumberException Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class NotFiniteNumberException : ArithmeticException

Remarks

NotFiniteNumberException is available for programming languages that do not support the concepts of infinity and Not-a-Number in floating-point operations.

NotFiniteNumberException uses the HRESULT COR_E_NOTFINITENUMBER, which has the value 0x80131528.

For a list of initial property values for an instance of NotFiniteNumberException, see the NotFiniteNumberException.#ctor constructors.

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0