Class DuplicateException
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
An exception that occurs when adding a new object or when updating an existing object that would cause a duplicate entry to occur.
public class DuplicateException : Exception, ISerializable, IKnownError
- Inheritance
-
DuplicateException
- Implements
- Derived
- Inherited Members
Constructors
DuplicateException()
Initializes a new instance of the DuplicateException class. The default constructor.
public DuplicateException()
DuplicateException(Exception?)
Initializes a new instance of the DuplicateException class. The constructor.
public DuplicateException(Exception? innerException)
Parameters
innerException
ExceptionThe inner exception.
DuplicateException(string, Exception?)
Initializes a new instance of the DuplicateException class. The constructor.
public DuplicateException(string message, Exception? innerException)
Parameters
Properties
Message
Gets the message of the exception.
public override string Message { get; }