UnhandledExceptionEventArgsとは? わかりやすく解説

UnhandledExceptionEventArgs クラス

メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。

My.Application.UnhandledException イベントのデータを提供します。

名前空間: Microsoft.VisualBasic.ApplicationServices
アセンブリ: Microsoft.VisualBasic (microsoft.visualbasic.dll 内)
構文構文

<ComVisibleAttribute(False)> _
Public Class UnhandledExceptionEventArgs
    Inherits ThreadExceptionEventArgs
Dim instance As UnhandledExceptionEventArgs
[ComVisibleAttribute(false)] 
public class UnhandledExceptionEventArgs :
 ThreadExceptionEventArgs
[ComVisibleAttribute(false)] 
public ref class UnhandledExceptionEventArgs
 : public ThreadExceptionEventArgs
/** @attribute ComVisibleAttribute(false) */ 
public class UnhandledExceptionEventArgs extends
 ThreadExceptionEventArgs
ComVisibleAttribute(false) 
public class UnhandledExceptionEventArgs extends
 ThreadExceptionEventArgs
解説解説
継承階層継承階層
System.Object
   System.EventArgs
     System.Threading.ThreadExceptionEventArgs
      Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
UnhandledExceptionEventArgs メンバ
Microsoft.VisualBasic.ApplicationServices 名前空間
その他の技術情報
My.Application.UnhandledException イベント
Visual Basic アプリケーション モデルの概要

UnhandledExceptionEventArgs クラス

アプリケーション ドメインで処理されない例外がある場合に発生するイベントにデータを提供します。

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

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

UnhandledExceptionEventArgs は、例外オブジェクトと共通言語ランタイムが終了中かどうかを示すフラグへのアクセスを提供します。UnhandledExceptionEventArgs は、UnhandledExceptionEventHandler に渡されるパラメータの 1 つです。

イベント ハンドラ デリゲートの詳細については、「イベントとデリゲート」を参照してください。

継承階層継承階層
System.Object
   System.EventArgs
    System.UnhandledExceptionEventArgs
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
UnhandledExceptionEventArgs メンバ
System 名前空間
UnhandledExceptionEventHandler
その他の技術情報
イベントとデリゲート

UnhandledExceptionEventArgs コンストラクタ

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

UnhandledExceptionEventArgs クラスの新しいインスタンスを初期化します。

名前空間: Microsoft.VisualBasic.ApplicationServices
アセンブリ: Microsoft.VisualBasic (microsoft.visualbasic.dll 内)
構文構文

Public Sub New ( _
    exitApplication As Boolean, _
    exception As Exception _
)
Dim exitApplication As Boolean
Dim exception As Exception

Dim instance As New UnhandledExceptionEventArgs(exitApplication,
 exception)
public UnhandledExceptionEventArgs (
    bool exitApplication,
    Exception exception
)
public:
UnhandledExceptionEventArgs (
    bool exitApplication, 
    Exception^ exception
)
public UnhandledExceptionEventArgs (
    boolean exitApplication, 
    Exception exception
)
public function UnhandledExceptionEventArgs
 (
    exitApplication : boolean, 
    exception : Exception
)

パラメータ

exitApplication

例外ハンドラの終了時にアプリケーションを終了するかどうかを示す Boolean。

exception

発生した Exception。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
UnhandledExceptionEventArgs クラス
UnhandledExceptionEventArgs メンバ
Microsoft.VisualBasic.ApplicationServices 名前空間
その他の技術情報
My.Application.UnhandledException イベント
Visual Basic アプリケーション モデルの概要

UnhandledExceptionEventArgs コンストラクタ

例外オブジェクトと共通言語ランタイム終了フラグを使用して、UnhandledExceptionEventArgs クラスの新しいインスタンスを初期化します。

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

Public Sub New ( _
    exception As Object, _
    isTerminating As Boolean _
)
Dim exception As Object
Dim isTerminating As Boolean

Dim instance As New UnhandledExceptionEventArgs(exception,
 isTerminating)
public UnhandledExceptionEventArgs (
    Object exception,
    bool isTerminating
)
public:
UnhandledExceptionEventArgs (
    Object^ exception, 
    bool isTerminating
)
public UnhandledExceptionEventArgs (
    Object exception, 
    boolean isTerminating
)
public function UnhandledExceptionEventArgs
 (
    exception : Object, 
    isTerminating : boolean
)

パラメータ

exception

処理されない例外。

isTerminating

ランタイムが終了中の場合は true。それ以外の場合は false。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
UnhandledExceptionEventArgs クラス
UnhandledExceptionEventArgs メンバ
System 名前空間

UnhandledExceptionEventArgs プロパティ


パブリック プロパティパブリック プロパティ

参照参照

関連項目

UnhandledExceptionEventArgs クラス
Microsoft.VisualBasic.ApplicationServices 名前空間

その他の技術情報

My.Application.UnhandledException イベント
Visual Basic アプリケーション モデルの概要

UnhandledExceptionEventArgs プロパティ


パブリック プロパティパブリック プロパティ

参照参照

関連項目

UnhandledExceptionEventArgs クラス
System 名前空間
UnhandledExceptionEventHandler

その他の技術情報

イベントとデリゲート

UnhandledExceptionEventArgs メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

UnhandledExceptionEventArgs クラス
Microsoft.VisualBasic.ApplicationServices 名前空間

その他の技術情報

My.Application.UnhandledException イベント
Visual Basic アプリケーション モデルの概要

UnhandledExceptionEventArgs メソッド


UnhandledExceptionEventArgs メンバ

My.Application.UnhandledException イベントのデータを提供します。

UnhandledExceptionEventArgs データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド UnhandledExceptionEventArgs UnhandledExceptionEventArgs クラスの新しいインスタンスを初期化します。
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

UnhandledExceptionEventArgs クラス
Microsoft.VisualBasic.ApplicationServices 名前空間

その他の技術情報

My.Application.UnhandledException イベント
Visual Basic アプリケーション モデルの概要

UnhandledExceptionEventArgs メンバ

アプリケーション ドメインで処理されない例外がある場合に発生するイベントにデータを提供します。

UnhandledExceptionEventArgs データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

UnhandledExceptionEventArgs クラス
System 名前空間
UnhandledExceptionEventHandler

その他の技術情報

イベントとデリゲート



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「UnhandledExceptionEventArgs」の関連用語

UnhandledExceptionEventArgsのお隣キーワード

   

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



UnhandledExceptionEventArgsのページの著作権

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

©2026 GRAS Group, Inc.RSS