StackOverflowException クラスとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > StackOverflowException クラスの意味・解説 

StackOverflowException クラス

入れ子になったメソッド呼び出し多くなりすぎ、実行スタックオーバーフローした場合スローされる例外。このクラス継承できません。

名前空間: System
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class
 StackOverflowException
    Inherits SystemException
Dim instance As StackOverflowException
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public sealed class StackOverflowException
 : SystemException
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public ref class StackOverflowException sealed
 : public SystemException
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public final class StackOverflowException extends
 SystemException
SerializableAttribute 
ComVisibleAttribute(true) 
public final class StackOverflowException extends
 SystemException
解説解説

StackOverflowException は、再帰回数がかなり多い場合無限に続く場合などに生じる、実行スタックオーバーフローによるエラーに対してスローさます。MSIL (Microsoft Intermediate Language) の Localloc 命令は、StackOverflowExceptionスローます。

StackOverflowException は、値 0x800703E9 を保持する HRESULT COR_E_STACKOVERFLOW を使用しますStackOverflowException オブジェクト初期プロパティ値の一覧については、StackOverflowException コンストラクタトピック参照してください

メモメモ

継承されData プロパティの値は常に null 参照 (Visual Basic では Nothing) です。

バージョンの考慮事項

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition プラットフォームメモ : スローされた StackOverflowException を try-catch ブロックキャッチすることはできません。したがって例外によってプロセス即座に終了させられます。

継承階層継承階層
System.Object
   System.Exception
     System.SystemException
      System.StackOverflowException
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「StackOverflowException クラス」の関連用語

StackOverflowException クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



StackOverflowException クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS