Class NotificationApplicationExceptionData
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The notification data associated with application exceptions that the end user cannot control.
public class NotificationApplicationExceptionData : NotificationData, IEntity, IComparable, IIdentifiable
- Inheritance
-
NotificationApplicationExceptionData
- Implements
- Inherited Members
Remarks
DEPRECATED: This class is deprecated as these represent important errors that affect our customers, and are being sent to database and not monitored carefully. Hence we are moving to always using Error Reporting which raises awareness about important errors much more quickly.
Constructors
NotificationApplicationExceptionData()
Initializes a new instance of the NotificationApplicationExceptionData class.
public NotificationApplicationExceptionData()
NotificationApplicationExceptionData(Id?, string?, string?, string?, string?)
Initializes a new instance of the NotificationApplicationExceptionData class. Initializes a new instance of the NotificationApplicationExceptionData class.
public NotificationApplicationExceptionData(Id? id, string? source, string? description, string? info, string? machineName)
Parameters
idIdThe Id.
sourcestringThe source of the notification.
descriptionstringError description.
infostringThe exception information.
machineNamestringThe machine name.
NotificationApplicationExceptionData(string, string, string)
Initializes a new instance of the NotificationApplicationExceptionData class.I.
public NotificationApplicationExceptionData(string source, string description, string machineName)
Parameters
sourcestringThe source.
descriptionstringThe description.
machineNamestringThe name of the machine with the exception.
Properties
Description
Gets or sets what is the description for the application exception.
public string? Description { get; set; }
Property Value
Info
Gets or sets additional info related to the application exception.
public string? Info { get; set; }
Property Value
MachineName
Gets or sets the machine name where the application exception occurred.
public string? MachineName { get; set; }
Property Value
Source
Gets or sets what is the source of the application exception.
public string? Source { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.
ToString()
Returns a string that represents this instance.
public override string ToString()