Class SuspectEntityException
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
An exception for use within the Processor namespace only, which includes information about entities which violated foreign key constraints and caused a RelationViolatedException.
public class SuspectEntityException : Exception, ISerializable, IKnownError
- Inheritance
-
SuspectEntityException
- Implements
- Inherited Members
Constructors
SuspectEntityException(IEnumerable<(Id SuspectId, string SuspectTypeName)>, Exception?)
Initializes a new instance of the SuspectEntityException class.
public SuspectEntityException(IEnumerable<(Id SuspectId, string SuspectTypeName)> safeSuspectEntityInfo, Exception? innerException)
Parameters
safeSuspectEntityInfo
IEnumerable<(Id SuspectId, string SuspectTypeName)>The ID and Type name information for the suspect entities.
innerException
ExceptionAny inner or root exception that was thrown.
Properties
SuspectedEntities
Gets the collection containing IDs and type names of entities that are suspect in causing the error.
public IEnumerable<(Id SuspectId, string SuspectTypeName)> SuspectedEntities { get; }
Property Value
- IEnumerable<(Id SuspectId, string SuspectTypeName)>
The suspected entities.