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

OutOfMemoryException クラス

プログラムの実行継続するためのメモリ不足している場合スローされる例外

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

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

OutOfMemoryExceptionスローする MSIL (Microsoft Intermediate Language) 命令次に示します

  • box

  • newarr

  • newobj

OutOfMemoryException は、値 0x8007000E を保持する HRESULT COR_E_OUTOFMEMORY を使用します

OutOfMemoryExceptionインスタンス初期プロパティ値の一覧については、OutOfMemoryException コンストラクタトピック参照してください

メモメモ

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

Windows Mobile for Pocket PCWindows Mobile for SmartphoneWindows CE プラットフォームメモ : リソース制約のあるデバイスでこの例外発生回避するには、64 KB上のメモリ消費するメソッド使用しないください

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



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

辞書ショートカット

すべての辞書の索引

「OutOfMemoryException クラス」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS