AddInSegmentDirectoryNotFoundException コンストラクター

定義

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

オーバーロード

AddInSegmentDirectoryNotFoundException()

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

AddInSegmentDirectoryNotFoundException(String)

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

AddInSegmentDirectoryNotFoundException(SerializationInfo, StreamingContext)

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

AddInSegmentDirectoryNotFoundException(String, Exception)

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

AddInSegmentDirectoryNotFoundException()

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

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

注釈

このコンストラクターは、新しいインスタンスの プロパティを、エラーを説明するシステム指定のメッセージ (たとえば、"ターゲット アプリケーション ドメインがアンロードされました") に初期化 Message します。 このメッセージでは、現在のシステム カルチャが考慮されます。

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

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

適用対象

AddInSegmentDirectoryNotFoundException(String)

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

public:
 AddInSegmentDirectoryNotFoundException(System::String ^ message);
public AddInSegmentDirectoryNotFoundException (string message);
new System.AddIn.Hosting.AddInSegmentDirectoryNotFoundException : string -> System.AddIn.Hosting.AddInSegmentDirectoryNotFoundException
Public Sub New (message As String)

パラメーター

message
String

エラーについて説明するメッセージ。

注釈

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

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

適用対象

AddInSegmentDirectoryNotFoundException(SerializationInfo, StreamingContext)

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

protected:
 AddInSegmentDirectoryNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected AddInSegmentDirectoryNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.AddIn.Hosting.AddInSegmentDirectoryNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.AddIn.Hosting.AddInSegmentDirectoryNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

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

context
StreamingContext

転送元または転送先のオブジェクト データに関する文脈情報。

注釈

このコンストラクターは、ストリーム経由で送信される例外オブジェクトを再構成するために、逆シリアル化中に呼び出されます。 詳細については、「 XML および SOAP のシリアル化」を参照してください。

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

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

適用対象

AddInSegmentDirectoryNotFoundException(String, Exception)

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

public:
 AddInSegmentDirectoryNotFoundException(System::String ^ message, Exception ^ innerException);
public AddInSegmentDirectoryNotFoundException (string message, Exception innerException);
new System.AddIn.Hosting.AddInSegmentDirectoryNotFoundException : string * Exception -> System.AddIn.Hosting.AddInSegmentDirectoryNotFoundException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

エラーについて説明するメッセージ。

innerException
Exception

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

注釈

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

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

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

適用対象