UniqueIdException ClassIpswitch.Messaging.Framework
The exception that is thrown when some property or element of an item, instance, or other entity is supposed to be a unique identifier of some type, but has value is already in use.
Inheritance Hierarchy

SystemObject
  SystemException
    Ipswitch.Messaging.FrameworkUniqueIdException

Namespace: Ipswitch.Messaging.Framework
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax

[SerializableAttribute]
public class UniqueIdException : Exception

The UniqueIdException type exposes the following members.

Constructors

  NameDescription
Public methodUniqueIdException
Initializes a new instance of the UniqueIdException class
Public methodUniqueIdException(String)
Initializes a new instance of the UniqueIdException class with a specified error message.
Public methodUniqueIdException(String, Exception)
Initializes a new instance of the UniqueIdException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Public methodUniqueIdException(String, String)
Initializes a new instance of the UniqueIdException class with a specified error message and the name of the property that is the cause of this exception.
Public methodUniqueIdException(String, String, Exception)
Initializes a new instance of the UniqueIdException class with a specified error message, the name of the property that should be unique, and a reference to the inner exception that is the cause of this exception.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception.)
Public methodGetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Public methodToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)
Top
Properties

  NameDescription
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public propertyHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Public propertyInnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public propertyMessage
Gets a message that describes the current exception.
(Inherited from Exception.)
Public propertyPropertyName
Gets the name of the property that caused this exception. This property is one that should contain some type of unique identifier, but has a value that is already in use.
Public propertySource
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public propertyStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception.)
Public propertyTargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)
Top
See Also

Reference