Language

InstrumentationException コンストラクター

定義

InstrumentationExceptionの新しいインスタンスを初期化します。 これはパラメーターなしのコンストラクターです。

オーバーロード

名前 説明
InstrumentationException()

InstrumentationException クラスの新しいインスタンスを初期化します。 これはパラメーターなしのコンストラクターです。

InstrumentationException(Exception)

現在の例外の原因となった System.Exception を使用して、新しい InstrumentationException クラスを初期化します。

InstrumentationException(String)

例外を説明するメッセージを使用して、 InstrumentationException クラスの新しいインスタンスを初期化します。

InstrumentationException(SerializationInfo, StreamingContext)

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

InstrumentationException(String, Exception)

指定した文字列と例外を使用して、新しい InstrumentationException クラスを初期化します。

InstrumentationException()

InstrumentationException クラスの新しいインスタンスを初期化します。 これはパラメーターなしのコンストラクターです。

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

適用対象

InstrumentationException(Exception)

現在の例外の原因となった System.Exception を使用して、新しい InstrumentationException クラスを初期化します。

public:
 InstrumentationException(Exception ^ innerException);
public InstrumentationException(Exception innerException);
new System.Management.Instrumentation.InstrumentationException : Exception -> System.Management.Instrumentation.InstrumentationException
Public Sub New (innerException As Exception)

パラメーター

innerException
Exception

現在の例外の原因となった Exception インスタンス。

適用対象

InstrumentationException(String)

例外を説明するメッセージを使用して、 InstrumentationException クラスの新しいインスタンスを初期化します。

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

パラメーター

message
String

例外を説明するメッセージ。

適用対象

InstrumentationException(SerializationInfo, StreamingContext)

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

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

パラメーター

info
SerializationInfo

オブジェクトをシリアル化または逆シリアル化するために必要なデータ。

context
StreamingContext

指定したシリアル化ストリームのソースと宛先の説明。

適用対象

InstrumentationException(String, Exception)

指定した文字列と例外を使用して、新しい InstrumentationException クラスを初期化します。

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

パラメーター

message
String

例外を説明するメッセージ。

innerException
Exception

現在の例外の原因となった Exception インスタンス。

適用対象