The exception that is thrown when a floating-point value is positive infinity, negative infinity, or Not-a-Number (NaN).
For a list of all members of this type, see NotFiniteNumberException Members.
[Visual Basic] <Serializable> Public Class NotFiniteNumberException Inherits ArithmeticException [C#] [Serializable] public class NotFiniteNumberException : ArithmeticException [C++] [Serializable] public __gc class NotFiniteNumberException : public ArithmeticException [JScript] public Serializable class NotFiniteNumberException extends ArithmeticException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: Mscorlib (in Mscorlib.dll)