Szerkesztés

Megosztás a következőn keresztül:


DatabaseNotEnabledForNotificationException Constructors

Definition

Initializes a new instance of the DatabaseNotEnabledForNotificationException class.

Overloads

DatabaseNotEnabledForNotificationException()

Initializes a new instance of the DatabaseNotEnabledForNotificationException class.

DatabaseNotEnabledForNotificationException(String)

Initializes a new instance of the DatabaseNotEnabledForNotificationException class.

DatabaseNotEnabledForNotificationException(String, Exception)

Initializes a new instance of the DatabaseNotEnabledForNotificationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

DatabaseNotEnabledForNotificationException()

Initializes a new instance of the DatabaseNotEnabledForNotificationException class.

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

Remarks

The DatabaseNotEnabledForNotificationException creates a new instance of the DatabaseNotEnabledForNotificationException class with all fields set to their default values.

Applies to

DatabaseNotEnabledForNotificationException(String)

Initializes a new instance of the DatabaseNotEnabledForNotificationException class.

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)

Parameters

message
String

A string that describes the error.

Applies to

DatabaseNotEnabledForNotificationException(String, Exception)

Initializes a new instance of the DatabaseNotEnabledForNotificationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Applies to