Table of Contents

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 Exception

The inner exception.

DuplicateException(string, Exception?)

Initializes a new instance of the DuplicateException class. The constructor.

public DuplicateException(string message, Exception? innerException)

Parameters

message string

The message of the exception.

innerException Exception

The inner exception.

Properties

Message

Gets the message of the exception.

public override string Message { get; }

Property Value

string

string