TargetParameterCountException コンストラクタとは? わかりやすく解説

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

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

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

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

解説解説

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

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

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

TargetParameterCountException コンストラクタ (String)

メッセージ文字列特定のメッセージ設定し主要原因となる例外指定して、TargetParameterCountException クラス新しインスタンス初期化します。

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

Dim message As String

Dim instance As New TargetParameterCountException(message)
public TargetParameterCountException (
    string message
)
public:
TargetParameterCountException (
    String^ message
)
public TargetParameterCountException (
    String message
)
public function TargetParameterCountException
 (
    message : String
)

パラメータ

message

この例外スローされた原因説明する文字列

解説解説

TargetParmeterCountExceptionException から継承します。このコンストラクタは、次の表に示すように、Exception オブジェクトプロパティ設定します

プロパティ

InnerException

null 参照 (Visual Basic では Nothing)

Message

メッセージ文字列

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

TargetParameterCountException コンストラクタ

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

名前 説明
TargetParameterCountException () 空のメッセージ文字列および例外主要原因使用してTargetParameterCountException クラス新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

TargetParameterCountException (String) メッセージ文字列特定のメッセージ設定し主要原因となる例外指定してTargetParameterCountException クラス新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

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

.NET Compact Framework によってサポートされています。

参照参照

関連項目

TargetParameterCountException クラス
TargetParameterCountException メンバ
System.Reflection 名前空間

TargetParameterCountException コンストラクタ ()

空のメッセージ文字列および例外主要原因使用して、TargetParameterCountException クラス新しインスタンス初期化します。

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

Dim instance As New TargetParameterCountException
public TargetParameterCountException ()
public:
TargetParameterCountException ()
public TargetParameterCountException ()
public function TargetParameterCountException
 ()
解説解説

TargetParameterCountExceptionException から継承します。このコンストラクタは、次の表に示すように、Exception オブジェクトプロパティ設定します

プロパティ

InnerException

null 参照 (Visual Basic では Nothing)

Message

空の文字列 ("")。

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



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

辞書ショートカット

すべての辞書の索引

「TargetParameterCountException コンストラクタ」の関連用語

TargetParameterCountException コンストラクタのお隣キーワード
検索ランキング

   

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



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

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

©2024 GRAS Group, Inc.RSS