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
SystemException
Ipswitch.Messaging.FrameworkUniqueIdException
Namespace: Ipswitch.Messaging.Framework
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax
The UniqueIdException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UniqueIdException |
Initializes a new instance of the UniqueIdException class
| |
UniqueIdException(String) |
Initializes a new instance of the UniqueIdException class with a specified error message.
| |
UniqueIdException(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.
| |
UniqueIdException(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.
| |
UniqueIdException(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.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.) | |
GetType | Gets the runtime type of the current instance. (Inherited from Exception.) | |
ToString | Creates and returns a string representation of the current exception. (Inherited from Exception.) |
Properties
Name | Description | |
---|---|---|
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) | |
HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) | |
InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | |
Message | Gets a message that describes the current exception. (Inherited from Exception.) | |
PropertyName |
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.
| |
Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) | |
StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) | |
TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |
See Also