DatabaseNotEnabledForNotificationException Konstruktoren

Definition

Initialisiert eine neue Instanz der DatabaseNotEnabledForNotificationException-Klasse.

Überlädt

Name Beschreibung
DatabaseNotEnabledForNotificationException()

Initialisiert eine neue Instanz der DatabaseNotEnabledForNotificationException-Klasse.

DatabaseNotEnabledForNotificationException(String)

Initialisiert eine neue Instanz der DatabaseNotEnabledForNotificationException-Klasse.

DatabaseNotEnabledForNotificationException(String, Exception)

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

DatabaseNotEnabledForNotificationException()

Initialisiert eine neue Instanz der DatabaseNotEnabledForNotificationException-Klasse.

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

Hinweise

Die DatabaseNotEnabledForNotificationException Klasse erstellt eine neue Instanz der DatabaseNotEnabledForNotificationException Klasse, wobei alle Felder auf ihre Standardwerte festgelegt sind.

Gilt für:

DatabaseNotEnabledForNotificationException(String)

Initialisiert eine neue Instanz der DatabaseNotEnabledForNotificationException-Klasse.

public:
 DatabaseNotEnabledForNotificationException(System::String ^ message);
public DatabaseNotEnabledForNotificationException(string message);
new System.Web.Caching.DatabaseNotEnabledForNotificationException : string -> System.Web.Caching.DatabaseNotEnabledForNotificationException
Public Sub New (message As String)

Parameter

message
String

Eine Zeichenfolge, die den Fehler beschreibt.

Gilt für:

DatabaseNotEnabledForNotificationException(String, Exception)

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

public:
 DatabaseNotEnabledForNotificationException(System::String ^ message, Exception ^ innerException);
public DatabaseNotEnabledForNotificationException(string message, Exception innerException);
new System.Web.Caching.DatabaseNotEnabledForNotificationException : string * Exception -> System.Web.Caching.DatabaseNotEnabledForNotificationException
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. Wenn der innerException Parameter nicht nullangegeben ist, wird die aktuelle Ausnahme in einem Catch-Block ausgelöst, der die innere Ausnahme behandelt.

Gilt für: