Language

InstanceNotFoundException コンストラクター

定義

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

オーバーロード

名前 説明
InstanceNotFoundException()

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

InstanceNotFoundException(String)

メッセージ文字列を message に設定して、InstanceNotFoundException クラスの新しいインスタンスを初期化します。

InstanceNotFoundException(SerializationInfo, StreamingContext)

指定したシリアル化情報とストリーミング コンテキストを使用して、InstanceNotFoundException クラスの新しいインスタンスを初期化します。

InstanceNotFoundException(String, Exception)

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

InstanceNotFoundException()

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

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

適用対象

InstanceNotFoundException(String)

メッセージ文字列を message に設定して、InstanceNotFoundException クラスの新しいインスタンスを初期化します。

public:
 InstanceNotFoundException(System::String ^ message);
public InstanceNotFoundException(string message);
new System.Management.Instrumentation.InstanceNotFoundException : string -> System.Management.Instrumentation.InstanceNotFoundException
Public Sub New (message As String)

パラメーター

message
String

例外の理由を説明するエラー メッセージを含む文字列。

適用対象

InstanceNotFoundException(SerializationInfo, StreamingContext)

指定したシリアル化情報とストリーミング コンテキストを使用して、InstanceNotFoundException クラスの新しいインスタンスを初期化します。

protected:
 InstanceNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InstanceNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Instrumentation.InstanceNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Instrumentation.InstanceNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

例外をシリアル化するために必要なすべてのデータを含む SerializationInfo。

context
StreamingContext

ストリームのソースと宛先を指定する StreamingContext。

適用対象

InstanceNotFoundException(String, Exception)

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

public:
 InstanceNotFoundException(System::String ^ message, Exception ^ innerException);
public InstanceNotFoundException(string message, Exception innerException);
new System.Management.Instrumentation.InstanceNotFoundException : string * Exception -> System.Management.Instrumentation.InstanceNotFoundException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

例外の理由を説明するエラー メッセージを含む文字列。

innerException
Exception

現在の例外がスローされる原因となった例外。

適用対象