System Namespace
The exception that is thrown when a floating-point value is positive infinity, negative infinity, or Not-a-Number ( NaN ).
Operations involving Double or Single operations throw this exception.
Applications written in C# will not throw this exception. NotFiniteNumberException is available for languages that do not support infinity and Not-a-Number constants.
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 constructors.
Exception Double