Share via


UnknownDatabaseException Class

Definition

Represents the exception that is thrown when an operation was unable to be performed because of database errors.

public ref class UnknownDatabaseException : Microsoft::EnterpriseManagement::Common::EnterpriseManagementException
[System.Runtime.Serialization.KnownType("KnownTypes")]
[System.Serializable]
public class UnknownDatabaseException : Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
type UnknownDatabaseException = class
    inherit EnterpriseManagementException
Public Class UnknownDatabaseException
Inherits EnterpriseManagementException
Inheritance
Attributes

Constructors

UnknownDatabaseException()

Initializes a new UnknownDatabaseException object.

UnknownDatabaseException(Exception)

Initializes a new UnknownDatabaseException object by specifying an inner exception that caused the current exception.

UnknownDatabaseException(SerializationInfo, StreamingContext)

Initializes a new UnknownDatabaseException object with serialized data.

UnknownDatabaseException(SqlException)

Initializes a new UnknownDatabaseException object by specifying an inner SQL exception that caused the current exception.

UnknownDatabaseException(String)

Initializes a new UnknownDatabaseException object by specifying the error message that describes the current exception.

UnknownDatabaseException(String, Exception)

Initializes a new UnknownDatabaseException object with an error message and inner exception.

UnknownDatabaseException(String, SqlException)

Initializes a new UnknownDatabaseException object with an error message and inner SQL exception.

Properties

SqlErrors

Gets a list of the SQL errors related to the database errors.

SqlMessage

Gets the SQL message that contains information about the database errors.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo object with information about the exception.

ToString()

Returns the exception message as a string for this exception.

Applies to