OverflowException クラス
アセンブリ: mscorlib (mscorlib.dll 内)

<SerializableAttribute> _ <ComVisibleAttribute(True)> _ Public Class OverflowException Inherits ArithmeticException
[SerializableAttribute] [ComVisibleAttribute(true)] public class OverflowException : ArithmeticException
[SerializableAttribute] [ComVisibleAttribute(true)] public ref class OverflowException : public ArithmeticException
/** @attribute SerializableAttribute() */ /** @attribute ComVisibleAttribute(true) */ public class OverflowException extends ArithmeticException
SerializableAttribute ComVisibleAttribute(true) public class OverflowException extends ArithmeticException

オーバーフローを検出する言語の場合、OverflowException 例外としてスローされます。たとえば C# では、checked キーワードを使用して、オーバーフロー状態を検出します。OverflowException 例外は、checked コンテキストだけで発生します。
次の MSIL (Microsoft Intermediate Language) 命令は、OverflowException をスローします。
整数型または小数型の算術演算や変換による結果が、演算後の型の範囲外である場合、次の事態が発生します。
OverflowException は、値 0x80131516 を保持する HRESULT COR_E_OVERFLOW を使用します。
OverflowException のインスタンスの初期プロパティ値の一覧については、OverflowException コンストラクタのトピックを参照してください。

System.Exception
System.SystemException
System.ArithmeticException
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- OverflowException クラスのページへのリンク