NotFiniteNumberException::OffendingNumber Property

 

Gets the invalid number that is a positive infinity, a negative infinity, or Not-a-Number (NaN).

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

public:
property double OffendingNumber {
	double get();
}

Property Value

Type: System::Double

The invalid number.

The OffendingNumber property returns the same value as was passed into the constructor, or zero if no value was supplied. Override the OffendingNumber property to customize the content or format of the invalid value.

This property is read-only.

.NET Framework
Available since 1.1
Return to top
Show: