Class DatabaseTableNotFoundException
The exception that is thrown when a required database table cannot be found via the configured data layer (e.g. Entity Framework Core).
Implements
Inherited Members
Namespace: Silverback.Database
Assembly: Silverback.Core.dll
Syntax
[Serializable]
public class DatabaseTableNotFoundException : SilverbackException, ISerializable
Constructors
| Improve this doc View sourceDatabaseTableNotFoundException()
Initializes a new instance of the DatabaseTableNotFoundException class.
Declaration
public DatabaseTableNotFoundException()
DatabaseTableNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the DatabaseTableNotFoundException class with the serialized data.
Declaration
protected DatabaseTableNotFoundException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
DatabaseTableNotFoundException(string)
Initializes a new instance of the DatabaseTableNotFoundException class with the specified message.
Declaration
public DatabaseTableNotFoundException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The exception message. |
DatabaseTableNotFoundException(string, Exception)
Initializes a new instance of the DatabaseTableNotFoundException class with the specified message and inner exception.
Declaration
public DatabaseTableNotFoundException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | The exception message. |
Exception | innerException | The inner exception. |