NotFiniteNumberException.OffendingNumber Property

Definition

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

public:
 property double OffendingNumber { double get(); };
public double OffendingNumber { get; }
member this.OffendingNumber : double
Public ReadOnly Property OffendingNumber As Double

Property Value

The invalid number.

Remarks

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.

Applies to

See also