InstanceNotFoundException Konstruktoren

Definition

Initialisiert eine neue Instanz der InstanceNotFoundException-Klasse.

Überlädt

Name Beschreibung
InstanceNotFoundException()

Initialisiert eine neue Instanz der InstanceNotFoundException-Klasse.

InstanceNotFoundException(String)

Initialisiert eine neue Instanz der InstanceNotFoundException-Klasse, wobei die Nachrichtenzeichenfolge auf "Nachricht" festgelegt ist.

InstanceNotFoundException(SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der InstanceNotFoundException-Klasse mit den angegebenen Serialisierungsinformationen und Streamingkontext.

InstanceNotFoundException(String, Exception)

Initialisiert eine neue Instanz der InstanceNotFoundException-Klasse mit der angegebenen Fehlermeldung und der inneren Ausnahme.

InstanceNotFoundException()

Initialisiert eine neue Instanz der InstanceNotFoundException-Klasse.

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

Gilt für:

InstanceNotFoundException(String)

Initialisiert eine neue Instanz der InstanceNotFoundException-Klasse, wobei die Nachrichtenzeichenfolge auf "Nachricht" festgelegt ist.

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)

Parameter

message
String

Eine Zeichenfolge, die die Fehlermeldung enthält, die den Grund für die Ausnahme erläutert.

Gilt für:

InstanceNotFoundException(SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der InstanceNotFoundException-Klasse mit den angegebenen Serialisierungsinformationen und Streamingkontext.

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)

Parameter

info
SerializationInfo

SerializationInfo, das alle zum Serialisieren der Ausnahme erforderlichen Daten enthält.

context
StreamingContext

Der StreamingContext, der die Quelle und das Ziel des Datenstroms angibt.

Gilt für:

InstanceNotFoundException(String, Exception)

Initialisiert eine neue Instanz der InstanceNotFoundException-Klasse mit der angegebenen Fehlermeldung und der inneren Ausnahme.

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)

Parameter

message
String

Eine Zeichenfolge, die die Fehlermeldung enthält, die den Grund für die Ausnahme erläutert.

innerException
Exception

Die Ausnahme, die dazu führte, dass die aktuelle Ausnahme ausgelöst wurde.

Gilt für: