ArithmeticException クラス
アセンブリ: mscorlib (mscorlib.dll 内)
構文
<SerializableAttribute> _ <ComVisibleAttribute(True)> _ Public Class ArithmeticException Inherits SystemException
[SerializableAttribute] [ComVisibleAttribute(true)] public class ArithmeticException : SystemException
[SerializableAttribute] [ComVisibleAttribute(true)] public ref class ArithmeticException : public SystemException
ArithmeticException は、DivideByZeroException、NotFiniteNumberException、および OverflowException の基本クラスです。通常、ArithmeticException の派生クラスを使用した方が、エラーについてより詳しく説明できます。一般的な算術エラーだけをキャプチャする場合は、ArithmeticException をスローします。
ArithmeticException は、値 0x80070216 を保持する HRESULT COR_E_ARITHMETIC を使用します。
ArithmeticException のインスタンスの初期プロパティ値の一覧については、ArithmeticException コンストラクタのトピックを参照してください。
System.Exception
System.SystemException
System.ArithmeticException
System.DivideByZeroException
System.NotFiniteNumberException
System.OverflowException
プラットフォーム
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
- ArithmeticException クラスのページへのリンク