Search Results for

    Show / Hide Table of Contents

    Class DuplicateIdentifierException

    Represents an error because of a duplicate identifier (e.g. two columns with the same name in a single table)

    Inheritance
    System.Object
    System.Exception
    DuplicateIdentifierException
    Implements
    System.Runtime.InteropServices._Exception
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    Namespace: TimeCockpit.Data.DataModel
    Assembly: TimeCockpit.Data.dll
    Syntax
    public class DuplicateIdentifierException : Exception, _Exception, ISerializable

    Constructors

    DuplicateIdentifierException()

    Initializes a new instance of the DuplicateIdentifierException class

    Declaration
    public DuplicateIdentifierException()

    DuplicateIdentifierException(SerializationInfo, StreamingContext)

    Initializes a new instance of the DuplicateIdentifierException class

    Declaration
    protected DuplicateIdentifierException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    DuplicateIdentifierException(String)

    Initializes a new instance of the DuplicateIdentifierException class

    Declaration
    public DuplicateIdentifierException(string identifier)
    Parameters
    Type Name Description
    System.String identifier

    The identifier that caused the exception

    DuplicateIdentifierException(String, Exception)

    Initializes a new instance of the DuplicateIdentifierException class

    Declaration
    public DuplicateIdentifierException(string identifier, Exception innerException)
    Parameters
    Type Name Description
    System.String identifier

    The identifier that caused the exception

    System.Exception innerException

    The 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.

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    Overrides
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    Implements
    System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

    See Also

    IsValidIdentifier(System.String)
    In This Article
    Back to top Copyright © 2020 software architects gmbh