NoDbNameException class

The NoDbNameException class is a custom exception class that is thrown when a database name is not provided where it is required.

Namespace: ASNA.DataGate.Common Assembly: ASNA.QSys.DataGate.Client.dll

Inheritance: Object –> Exception –> dgException

Constructors

Name Description
NoDbNameException() Initializes a new instance of the NoDbNameException class.
NoDbNameException(String) Initializes a new instance of the NoDbNameException class with a specified database name.
NoDbNameException(String, Exception) Initializes a new instance of the NoDbNameException class with a specified database name and a reference to the inner exception that is the cause of this exception.

Methods

Signature Description
FormatMessage(IFormatProvider, String) Formats the error message and the database name into a single string for logging or displaying to the user.