EntryPointNotFoundException コンストラクター

定義

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

オーバーロード

EntryPointNotFoundException()

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

EntryPointNotFoundException(String)

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

EntryPointNotFoundException(SerializationInfo, StreamingContext)
古い.

シリアル化したデータを使用して、EntryPointNotFoundException クラスの新しいインスタンスを初期化します。

EntryPointNotFoundException(String, Exception)

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

EntryPointNotFoundException()

Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs

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

public:
 EntryPointNotFoundException();
public EntryPointNotFoundException ();
Public Sub New ()

注釈

このコンストラクターは、"エントリ ポイントが見つかりませんでした" などのエラーを説明するシステム指定のメッセージに対して、新しいインスタンスの プロパティを初期化 Message します。このメッセージでは、現在のシステム カルチャが考慮されます。

次の表に、EntryPointNotFoundException のインスタンスに対するプロパティの初期値を示します。

プロパティ
InnerException null 参照 (Visual Basic の場合は Nothing)。
Message ローカライズされたエラー メッセージ文字列。

適用対象

EntryPointNotFoundException(String)

Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs

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

public:
 EntryPointNotFoundException(System::String ^ message);
public EntryPointNotFoundException (string? message);
public EntryPointNotFoundException (string message);
new EntryPointNotFoundException : string -> EntryPointNotFoundException
Public Sub New (message As String)

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

注釈

message の内容は、ユーザーが理解できる内容にします。 このコンストラクターの呼び出し元は、この文字列が現在のシステム環境向けにローカライズされていることを確認する必要があります。

次の表に、EntryPointNotFoundException のインスタンスに対するプロパティの初期値を示します。

プロパティ
InnerException null 参照 (Visual Basic の場合は Nothing)。
Message エラー メッセージ文字列。

適用対象

EntryPointNotFoundException(SerializationInfo, StreamingContext)

Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs

注意事項

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

シリアル化したデータを使用して、EntryPointNotFoundException クラスの新しいインスタンスを初期化します。

protected:
 EntryPointNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected EntryPointNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected EntryPointNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new EntryPointNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> EntryPointNotFoundException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new EntryPointNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> EntryPointNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

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

context
StreamingContext

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

属性

注釈

このコンストラクターは、シリアル化解除の際に呼び出されて、ストリームで送信された例外オブジェクトを再構成します。

適用対象

EntryPointNotFoundException(String, Exception)

Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs

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

public:
 EntryPointNotFoundException(System::String ^ message, Exception ^ inner);
public EntryPointNotFoundException (string? message, Exception? inner);
public EntryPointNotFoundException (string message, Exception inner);
new EntryPointNotFoundException : string * Exception -> EntryPointNotFoundException
Public Sub New (message As String, inner As Exception)

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

inner
Exception

現在の例外の原因となった例外。 inner パラメーターが null 参照 (Visual Basic の場合は Nothing) でない場合は、内部例外を処理する catch ブロックで現在の例外が発生します。

注釈

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

次の表に、EntryPointNotFoundException のインスタンスに対するプロパティの初期値を示します。

プロパティ [値]
InnerException 内部例外の参照。
Message エラー メッセージ文字列。

こちらもご覧ください

適用対象