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.
System.Object
System.Exception
System.SystemException
System.ArithmeticException
System.NotFiniteNumberException
[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 safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
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.
Namespace: System
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 - Windows CE .NET
Assembly: Mscorlib (in Mscorlib.dll)
NotFiniteNumberException Members | System Namespace | Exception | Double |