external exceptionとは? わかりやすく解説

ExternalException クラス

すべての COM 相互運用例外構造化例外処理 (SEH) 例外基本的な例外の種類

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

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

レガシ システム共通言語ランタイム間で相互運用性高めるために、ErrorCode プロパティは、エラー識別するための整数値 (HRESULT) を格納しますユーザー定義例外を ExternalException から派生したり、ExternalExceptionユーザー コードによってスローしたりしないください代わりにExternalException から派生する固有の例外使用してください

ExternalException は、0x80004005 の値を持つ HRESULT E_FAIL を使用します

ExternalException は、Equals メソッド既定実装使用します。この実装では、参照等値かどうか判断できます

ExternalException インスタンス初期値リストについては、ExternalException コンストラクタトピック参照してください

継承階層継承階層
System.Object
   System.Exception
     System.SystemException
      System.Runtime.InteropServices.ExternalException
         派生クラス
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ExternalException メンバ
System.Runtime.InteropServices 名前空間
Exception
その他の技術情報
例外の処理とスロー

ExternalException コンストラクタ ()

ExternalException クラス新しインスタンス既定プロパティ使用して初期化します。

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

Dim instance As New ExternalException
public ExternalException ()
public:
ExternalException ()
public ExternalException ()
public function ExternalException ()
解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ExternalException クラス
ExternalException メンバ
System.Runtime.InteropServices 名前空間

ExternalException コンストラクタ (String)

ExternalException クラス新しインスタンスを、指定したエラー メッセージ使用して初期化します。

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

解説解説

ExternalExceptionインスタンス初期プロパティ値を次の表に示します

プロパティ

InnerException

null 参照 (Visual Basic では Nothing).

Message

message

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

ExternalException コンストラクタ (String, Exception)

指定したエラー メッセージと、この例外原因である内部例外への参照使用して、ExternalException クラス新しインスタンス初期化します。

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

解説解説

前の例外直接結果としてスローされる例外については、InnerException プロパティに、前の例外への参照格納されます。InnerException プロパティは、コンストラクタ渡されたものと同じ値を返しますInnerException プロパティによって内部例外値がコンストラクタ渡されなかった場合は、null 参照 (Visual Basic では Nothing) を返します

ExternalExceptionインスタンス初期プロパティ値を次の表に示します

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ExternalException クラス
ExternalException メンバ
System.Runtime.InteropServices 名前空間
Exception
その他の技術情報
例外の処理とスロー

ExternalException コンストラクタ (SerializationInfo, StreamingContext)

シリアル化データから、ExternalException クラス新しインスタンス初期化します。

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

Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New ExternalException(info,
 context)
protected ExternalException (
    SerializationInfo info,
    StreamingContext context
)
protected:
ExternalException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected ExternalException (
    SerializationInfo info, 
    StreamingContext context
)
protected function ExternalException (
    info : SerializationInfo, 
    context : StreamingContext
)

パラメータ

info

シリアル化されたオブジェクト データ保持するオブジェクト

context

転送元または転送先に関すコンテキスト情報

例外例外
例外種類条件

ArgumentNullException

infonull 参照 (Visual Basic では Nothing) です。

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

ExternalException コンストラクタ

ExternalException クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

参照参照

関連項目

ExternalException クラス
ExternalException メンバ
System.Runtime.InteropServices 名前空間

ExternalException コンストラクタ (String, Int32)

ExternalException クラス新しインスタンスを、指定したエラー メッセージエラーの HRESULT を使用して初期化します。

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

解説解説

ExternalExceptionインスタンス初期プロパティ値を次の表に示します

プロパティ

ErrorCode

エラーの HRESULT。

InnerException

null 参照 (Visual Basic では Nothing)

Message

message

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

ExternalException プロパティ


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

プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ HResult  特定の例外割り当てられているコード化数値である HRESULT を取得または設定します。 ( Exception から継承されます。)
参照参照

関連項目

ExternalException クラス
System.Runtime.InteropServices 名前空間
Exception

その他の技術情報

例外の処理とスロー

ExternalException メソッド


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

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

関連項目

ExternalException クラス
System.Runtime.InteropServices 名前空間
Exception

その他の技術情報

例外の処理とスロー

ExternalException メンバ

すべての COM 相互運用例外構造化例外処理 (SEH) 例外基本的な例外の種類

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


パブリック コンストラクタパブリック コンストラクタ
プロテクト コンストラクタプロテクト コンストラクタ
  名前 説明
プロテクト メソッド ExternalException オーバーロードされますExternalException クラス新しインスタンス初期化します。
パブリック プロパティパブリック プロパティ
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ HResult  特定の例外割り当てられているコード化数値である HRESULT を取得または設定します。(Exception から継承されます。)
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

ExternalException クラス
System.Runtime.InteropServices 名前空間
Exception

その他の技術情報

例外の処理とスロー


このページでは「.NET Framework クラス ライブラリ リファレンス」からexternal exceptionを検索した結果を表示しています。
Weblioに収録されているすべての辞書からexternal exceptionを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からexternal exceptionを検索

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

辞書ショートカット

すべての辞書の索引

「external exception」の関連用語

external exceptionのお隣キーワード
検索ランキング

   

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



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

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

©2024 GRAS Group, Inc.RSS