InternalException Konstruktoren

Definition

Überlädt

InternalException()

Initialisiert eine neue Instanz der InternalException-Klasse.

InternalException(String)

Initialisiert eine neue Instanz der- InternalException Klasse unter Verwendung der bereitgestellten Meldung.

InternalException(SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der InternalException -Klasse unter Verwendung der bereitgestellten Informationen und des Kontexts.

InternalException(String, Exception)

Initialisiert eine neue Instanz der InternalException -Klasse unter Verwendung der angegebenen Meldung und der angegebenen inneren Ausnahme.

InternalException()

Initialisiert eine neue Instanz der InternalException-Klasse.

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

Gilt für

InternalException(String)

Initialisiert eine neue Instanz der- InternalException Klasse unter Verwendung der bereitgestellten Meldung.

public:
 InternalException(System::String ^ msg);
public InternalException (string msg);
new Microsoft.VisualStudio.TestTools.Exceptions.InternalException : string -> Microsoft.VisualStudio.TestTools.Exceptions.InternalException
Public Sub New (msg As String)

Parameter

msg
String

Meldung, in der die Ausnahme beschrieben wird.

Gilt für

InternalException(SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der InternalException -Klasse unter Verwendung der bereitgestellten Informationen und des Kontexts.

protected:
 InternalException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InternalException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.Exceptions.InternalException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.Exceptions.InternalException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

Informationen über die Ausnahme.

context
StreamingContext

Die Quelle und das Ziel der Ausnahme.

Gilt für

InternalException(String, Exception)

Initialisiert eine neue Instanz der InternalException -Klasse unter Verwendung der angegebenen Meldung und der angegebenen inneren Ausnahme.

public:
 InternalException(System::String ^ msg, Exception ^ inner);
public InternalException (string msg, Exception inner);
new Microsoft.VisualStudio.TestTools.Exceptions.InternalException : string * Exception -> Microsoft.VisualStudio.TestTools.Exceptions.InternalException
Public Sub New (msg As String, inner As Exception)

Parameter

msg
String

Meldung, in der die Ausnahme beschrieben wird.

inner
Exception

Eine Ausnahme, die die aktuelle Ausnahme verursacht hat.

Gilt für