Class SchemaDatabaseException
- Namespace
- TimeCockpit.Data.DataModel
- Assembly
- TimeCockpit.Data.dll
Represents an error because of a duplicate identifier (e.g. two columns with the same name in a single table)
public class SchemaDatabaseException : Exception, _Exception, ISerializable
- Inheritance
-
ObjectExceptionSchemaDatabaseException
- Implements
-
_ExceptionISerializable
- Inherited Members
-
Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.MessageException.DataException.InnerExceptionException.TargetSiteException.StackTraceException.HelpLinkException.SourceException.HResultException.SerializeObjectStateObject.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.MemberwiseClone()
Constructors
SchemaDatabaseException()
Initializes a new instance of the SchemaDatabaseException class
public SchemaDatabaseException()
SchemaDatabaseException(SerializationInfo, StreamingContext)
Initializes a new instance of the SchemaDatabaseException class
protected SchemaDatabaseException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
SchemaDatabaseException(String)
Initializes a new instance of the SchemaDatabaseException class
public SchemaDatabaseException(string message)
Parameters
messageStringThe message that describes the error.
SchemaDatabaseException(String, Exception)
Initializes a new instance of the SchemaDatabaseException class
public SchemaDatabaseException(string message, Exception innerException)
Parameters
messageStringThe message that describes the error.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Methods
GetObjectData(SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.