Class DuplicateIdentifierException
- 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 DuplicateIdentifierException : Exception, _Exception, ISerializable
- Inheritance
-
ObjectExceptionDuplicateIdentifierException
- 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
DuplicateIdentifierException()
Initializes a new instance of the DuplicateIdentifierException class
public DuplicateIdentifierException()
DuplicateIdentifierException(SerializationInfo, StreamingContext)
Initializes a new instance of the DuplicateIdentifierException class
protected DuplicateIdentifierException(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.
DuplicateIdentifierException(String)
Initializes a new instance of the DuplicateIdentifierException class
public DuplicateIdentifierException(string identifier)
Parameters
identifierStringThe identifier that caused the exception
DuplicateIdentifierException(String, Exception)
Initializes a new instance of the DuplicateIdentifierException class
public DuplicateIdentifierException(string identifier, Exception innerException)
Parameters
identifierStringThe identifier that caused the exception
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.