TargetParameterCountException クラス

定義

呼び出し時に指定されたパラメーターの数が、必要なパラメーター数と異なる場合にスローされる例外。 このクラスは継承できません。

public ref class TargetParameterCountException sealed : Exception
public ref class TargetParameterCountException sealed : ApplicationException
public sealed class TargetParameterCountException : Exception
public sealed class TargetParameterCountException : ApplicationException
[System.Serializable]
public sealed class TargetParameterCountException : ApplicationException
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class TargetParameterCountException : ApplicationException
type TargetParameterCountException = class
    inherit Exception
type TargetParameterCountException = class
    inherit ApplicationException
[<System.Serializable>]
type TargetParameterCountException = class
    inherit ApplicationException
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TargetParameterCountException = class
    inherit ApplicationException
Public NotInheritable Class TargetParameterCountException
Inherits Exception
Public NotInheritable Class TargetParameterCountException
Inherits ApplicationException
継承
TargetParameterCountException
継承
TargetParameterCountException
属性

注釈

TargetParameterCountException は、値が0x8002000Eを持つ HRESULT COR_E_TARGETPARAMCOUNTを使用します。

コンストラクター

TargetParameterCountException()

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

TargetParameterCountException(String)

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

TargetParameterCountException(String, Exception)

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

プロパティ

Data

例外に関する追加のユーザー定義情報を提供する、キーと値のペアのコレクションを取得します。

(継承元 Exception)
HelpLink

この例外に関連付けられているヘルプ ファイルへのリンクを取得または設定します。

(継承元 Exception)
HResult

特定の例外に割り当てられているコード化数値である HRESULT を取得または設定します。

(継承元 Exception)
InnerException

現在の例外の原因となる Exception インスタンスを取得します。

(継承元 Exception)
Message

現在の例外を説明するメッセージを取得します。

(継承元 Exception)
Source

エラーの原因となるアプリケーションまたはオブジェクトの名前を取得または設定します。

(継承元 Exception)
StackTrace

呼び出し履歴で直前のフレームの文字列形式を取得します。

(継承元 Exception)
TargetSite

現在の例外がスローされたメソッドを取得します。

(継承元 Exception)

メソッド

Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetBaseException()

派生クラスでオーバーライドされた場合、それ以後に発生する 1 つ以上の例外の根本原因である Exception を返します。

(継承元 Exception)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetObjectData(SerializationInfo, StreamingContext)

派生クラスでオーバーライドされた場合は、その例外に関する情報を使用して SerializationInfo を設定します。

(継承元 Exception)
GetType()

現在のインスタンスのランタイム型を取得します。

(継承元 Exception)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在の例外の文字列形式を作成して返します。

(継承元 Exception)

イベント

SerializeObjectState
古い.

例外がシリアル化され、例外に関するシリアル化されたデータを含む例外状態オブジェクトが作成されたときに発生します。

(継承元 Exception)

適用対象

こちらもご覧ください