Export (0) Print
Expand All

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 double OffendingNumber { 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft