1 <Type Name="NotFiniteNumberException" FullName="System.NotFiniteNumberException" FullNameSP="System_NotFiniteNumberException" Maintainer="ecma">
2 <TypeSignature Language="ILASM" Value=".class public serializable NotFiniteNumberException extends System.ArithmeticException" />
3 <TypeSignature Language="C#" Value="public class NotFiniteNumberException : ArithmeticException" />
4 <MemberOfLibrary>ExtendedNumerics</MemberOfLibrary>
6 <AssemblyName>mscorlib</AssemblyName>
7 <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
8 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9 <AssemblyVersion>2.0.0.0</AssemblyVersion>
10 <AssemblyVersion>4.0.0.0</AssemblyVersion>
12 <ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
14 <BaseTypeName>System.ArithmeticException</BaseTypeName>
19 <para> Represents the error that occurs when an arithmetic operation cannot be performed on a floating-point value that
20 is not a finite number.</para>
23 <para>This exception is thrown when an operand of an arithmetic operation is, and
24 is not permitted to be, one of the following:</para>
27 <term> Positive infinity</term>
30 <term> Negative infinity</term>
33 <term> NaN (Not-a-Number)</term>
37 <block subset="none" type="note">Operations involving <see cref="T:System.Double" /> or <see cref="T:System.Single" /> operations throw
38 this exception.</block>
43 <Member MemberName=".ctor">
44 <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
45 <MemberSignature Language="C#" Value="public NotFiniteNumberException ();" />
46 <MemberType>Constructor</MemberType>
51 <para>Constructs and initializes a new instance of the <see cref="T:System.NotFiniteNumberException" /> class.</para>
54 <para>This constructor initializes the <see cref="!:System.NotFiniteNumberException.Message" /> property of the new instance to a system-supplied
55 message that describes the error, such as "The number encountered was not a
56 finite quantity." This message takes into account the current system culture. </para>
57 <para>This constructor initializes the <see cref="P:System.NotFiniteNumberException.OffendingNumber" /> property to zero. The <see cref="!:System.NotFiniteNumberException.InnerException" />
58 property is initialized to <see langword="null" /> .</para>
61 <Excluded>0</Excluded>
63 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
64 <AssemblyVersion>2.0.0.0</AssemblyVersion>
65 <AssemblyVersion>4.0.0.0</AssemblyVersion>
68 <Member MemberName=".ctor">
69 <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(float64 offendingNumber)" />
70 <MemberSignature Language="C#" Value="public NotFiniteNumberException (double offendingNumber);" />
71 <MemberType>Constructor</MemberType>
74 <Parameter Name="offendingNumber" Type="System.Double" />
77 <param name="offendingNumber">A <see cref="T:System.Double" /> that specifies the value of the argument that caused the Exception.</param>
79 <para>Constructs and initializes a new instance of the <see cref="T:System.NotFiniteNumberException" />
83 <para>This constructor initializes the <see cref="!:System.NotFiniteNumberException.Message" /> property of the new instance to a system-supplied
84 message that describes the error, such as "The number encountered was not a
85 finite quantity." This message takes into account the current system
87 <para>This constructor initializes the <see cref="P:System.NotFiniteNumberException.OffendingNumber" /> property using <paramref name="offendingNumber" />. The <see cref="!:System.NotFiniteNumberException.InnerException" /> property is initialized to
88 <see langword="null" /> .</para>
91 <Excluded>0</Excluded>
93 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
94 <AssemblyVersion>2.0.0.0</AssemblyVersion>
95 <AssemblyVersion>4.0.0.0</AssemblyVersion>
98 <Member MemberName=".ctor">
99 <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message)" />
100 <MemberSignature Language="C#" Value="public NotFiniteNumberException (string message);" />
101 <MemberType>Constructor</MemberType>
104 <Parameter Name="message" Type="System.String" />
107 <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
109 <para>Constructs and initializes a new instance of the <see cref="T:System.NotFiniteNumberException" />
113 <para>This constructor initializes the <see cref="!:System.NotFiniteNumberException.Message" /> property of the new instance
114 using <paramref name="message" /> , and
115 initializes the <see cref="P:System.NotFiniteNumberException.OffendingNumber" />
116 property to zero. If <paramref name="message" /> is <see langword="null" />, the <see cref="!:System.NotFiniteNumberException.Message" /> property is initialized to the system-supplied message
117 provided by the constructor that takes no arguments. </para>
118 <para> The <see cref="!:System.NotFiniteNumberException.InnerException" />
119 property is initialized to <see langword="null" /> .</para>
122 <Excluded>0</Excluded>
124 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
125 <AssemblyVersion>2.0.0.0</AssemblyVersion>
126 <AssemblyVersion>4.0.0.0</AssemblyVersion>
129 <Member MemberName=".ctor">
130 <MemberSignature Language="C#" Value="protected NotFiniteNumberException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
131 <MemberType>Constructor</MemberType>
133 <Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
134 <Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
137 <param name="info">To be added.</param>
138 <param name="context">To be added.</param>
139 <summary>To be added.</summary>
140 <remarks>To be added.</remarks>
143 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
144 <AssemblyVersion>2.0.0.0</AssemblyVersion>
145 <AssemblyVersion>4.0.0.0</AssemblyVersion>
148 <Member MemberName=".ctor">
149 <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message, float64 offendingNumber)" />
150 <MemberSignature Language="C#" Value="public NotFiniteNumberException (string message, double offendingNumber);" />
151 <MemberType>Constructor</MemberType>
154 <Parameter Name="message" Type="System.String" />
155 <Parameter Name="offendingNumber" Type="System.Double" />
158 <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
159 <param name="offendingNumber">A <see cref="T:System.Double" /> that specifies the value of the argument that caused the current Exception.</param>
161 <para>Constructs a new instance of the <see cref="T:System.NotFiniteNumberException" />
165 <para>This constructor initializes the <see cref="!:System.NotFiniteNumberException.Message" /> property of the new instance using <paramref name="message" /> and
166 the <see langword="OffendingNumber" /> property using <paramref name="offendingNumber" />. If <paramref name="message" /> is
167 <see langword="null" />, the <see cref="!:System.NotFiniteNumberException.Message" /> property is initialized to the system-supplied message
168 provided by the constructor that takes no arguments.</para>
169 <para> The <see cref="!:System.NotFiniteNumberException.InnerException" /> property is initialized to
170 <see langword="null" /> .</para>
173 <Excluded>0</Excluded>
175 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
176 <AssemblyVersion>2.0.0.0</AssemblyVersion>
177 <AssemblyVersion>4.0.0.0</AssemblyVersion>
180 <Member MemberName=".ctor">
181 <MemberSignature Language="C#" Value="public NotFiniteNumberException (string message, Exception innerException);" />
182 <MemberType>Constructor</MemberType>
184 <Parameter Name="message" Type="System.String" />
185 <Parameter Name="innerException" Type="System.Exception" />
188 <param name="message">To be added.</param>
189 <param name="innerException">To be added.</param>
190 <summary>To be added.</summary>
191 <remarks>To be added.</remarks>
192 <since version=".NET 2.0" />
195 <AssemblyVersion>2.0.0.0</AssemblyVersion>
196 <AssemblyVersion>4.0.0.0</AssemblyVersion>
199 <Member MemberName=".ctor">
200 <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message, float64 offendingNumber, class System.Exception innerException)" />
201 <MemberSignature Language="C#" Value="public NotFiniteNumberException (string message, double offendingNumber, Exception innerException);" />
202 <MemberType>Constructor</MemberType>
205 <Parameter Name="message" Type="System.String" />
206 <Parameter Name="offendingNumber" Type="System.Double" />
207 <Parameter Name="innerException" Type="System.Exception" />
210 <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
211 <param name="offendingNumber">A <see cref="T:System.Double" /> that specifies the value of the argument that caused the current exception.</param>
212 <param name="innerException">An instance of <see cref="T:System.Exception" /> that is the cause of the current exception. If <paramref name="innerException" /> is non-null, then the current exception was raised in a catch block handling <paramref name="innerException" />.</param>
214 <para>Constructs and initializes a new instance of the <see cref="T:System.NotFiniteNumberException" />
218 <para>This constructor initializes the <see cref="!:System.NotFiniteNumberException.Message" /> property of the new instance using <paramref name="message" />, the
219 <see cref="P:System.NotFiniteNumberException.OffendingNumber" /> property using <paramref name="offendingNumber" />, and the <see cref="!:System.NotFiniteNumberException.InnerException" /> property using <paramref name="innerException" />. If <paramref name="message" /> is
220 <see langword="null" />, the <see cref="!:System.NotFiniteNumberException.Message" /> property is initialized to the system-supplied message
221 provided by the constructor that takes no arguments. </para>
223 <block subset="none" type="note">For information on inner exceptions, see
224 <see cref="P:System.Exception.InnerException" />.</block>
228 <Excluded>0</Excluded>
230 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
231 <AssemblyVersion>2.0.0.0</AssemblyVersion>
232 <AssemblyVersion>4.0.0.0</AssemblyVersion>
235 <Member MemberName="GetObjectData">
236 <MemberSignature Language="C#" Value="public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
237 <MemberType>Method</MemberType>
239 <ReturnType>System.Void</ReturnType>
242 <Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
243 <Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
246 <param name="info">To be added.</param>
247 <param name="context">To be added.</param>
248 <summary>To be added.</summary>
249 <remarks>To be added.</remarks>
252 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
253 <AssemblyVersion>2.0.0.0</AssemblyVersion>
254 <AssemblyVersion>4.0.0.0</AssemblyVersion>
257 <Member MemberName="OffendingNumber">
258 <MemberSignature Language="ILASM" Value=".property float64 OffendingNumber { public hidebysig specialname instance float64 get_OffendingNumber() }" />
259 <MemberSignature Language="C#" Value="public double OffendingNumber { get; }" />
260 <MemberType>Property</MemberType>
262 <ReturnType>System.Double</ReturnType>
267 <para> Gets the value of the argument that caused the current Exception.</para>
270 <para>A <see cref="T:System.Double" /> that contains the invalid value.</para>
273 <para>This property is read-only.</para>
274 <para>The <see cref="P:System.NotFiniteNumberException.OffendingNumber" />
275 property returns the same value as was passed into the
276 constructor, or zero if no value was supplied.</para>
279 <Excluded>0</Excluded>
281 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
282 <AssemblyVersion>2.0.0.0</AssemblyVersion>
283 <AssemblyVersion>4.0.0.0</AssemblyVersion>
287 <TypeExcluded>0</TypeExcluded>
290 <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>