NoNullAllowedException Konstruktoren

Definition

Initialisiert eine neue Instanz der NoNullAllowedException-Klasse.

Überlädt

Name Beschreibung
NoNullAllowedException()

Initialisiert eine neue Instanz der NoNullAllowedException-Klasse.

NoNullAllowedException(String)

Initialisiert eine neue Instanz der NoNullAllowedException Klasse mit der angegebenen Zeichenfolge.

NoNullAllowedException(SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der NoNullAllowedException Klasse mit Serialisierungsinformationen.

NoNullAllowedException(String, Exception)

Initialisiert eine neue Instanz der NoNullAllowedException Klasse mit einer angegebenen Fehlermeldung und einem Verweis auf die innere Ausnahme, die die Ursache dieser Ausnahme ist.

NoNullAllowedException()

Initialisiert eine neue Instanz der NoNullAllowedException-Klasse.

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

Gilt für:

NoNullAllowedException(String)

Initialisiert eine neue Instanz der NoNullAllowedException Klasse mit der angegebenen Zeichenfolge.

public:
 NoNullAllowedException(System::String ^ s);
public NoNullAllowedException(string s);
new System.Data.NoNullAllowedException : string -> System.Data.NoNullAllowedException
Public Sub New (s As String)

Parameter

s
String

Die Zeichenfolge, die angezeigt werden soll, wenn die Ausnahme ausgelöst wird.

Gilt für:

NoNullAllowedException(SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der NoNullAllowedException Klasse mit Serialisierungsinformationen.

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

Parameter

info
SerializationInfo

Die Daten, die zum Serialisieren oder Deserialisieren eines Objekts erforderlich sind.

context
StreamingContext

Beschreibung der Quelle und des Ziels des angegebenen serialisierten Datenstroms.

Weitere Informationen

Gilt für:

NoNullAllowedException(String, Exception)

Initialisiert eine neue Instanz der NoNullAllowedException Klasse mit einer angegebenen Fehlermeldung und einem Verweis auf die innere Ausnahme, die die Ursache dieser Ausnahme ist.

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

Parameter

message
String

Die Fehlermeldung, die den Grund für die Ausnahme erläutert.

innerException
Exception

Die Ausnahme, die die Ursache der aktuellen Ausnahme ist, oder ein Nullverweis (Nothing in Visual Basic), wenn keine innere Ausnahme angegeben wird.

Gilt für: