NotFiniteNumberException Constructor (Double)

 

Initializes a new instance of the NotFiniteNumberException class with the invalid number.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public NotFiniteNumberException(
	double offendingNumber
)

Parameters

offendingNumber
Type: System.Double

The value of the argument that caused the exception.

The offendingNumber parameter must be both a Double and an invalid number.

The following table shows the initial property values for an instance of NotFiniteNumberException.

Property

Value

InnerException

A null reference (Nothing in Visual Basic).

OffendingNumber

The invalid number.

.NET Framework
Available since 1.1
Return to top
Show: