Class NotificationExceptionForUsersData
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The notification data associated with application exceptions that can be resolved by user action.
[ReportClass]
public class NotificationExceptionForUsersData : NotificationData, IEntity, IComparable, IIdentifiable
- Inheritance
-
NotificationExceptionForUsersData
- Implements
- Derived
- Inherited Members
Constructors
NotificationExceptionForUsersData()
Initializes a new instance of the NotificationExceptionForUsersData class. Initializes a new instance of the NotificationExceptionForUsersData class.
public NotificationExceptionForUsersData()
NotificationExceptionForUsersData(Id?)
Initializes a new instance of the NotificationExceptionForUsersData class. Initializes a new instance of the NotificationExceptionForUsersData class.
protected NotificationExceptionForUsersData(Id? id)
Parameters
NotificationExceptionForUsersData(Id?, string?, string?, string?, string?)
Initializes a new instance of the NotificationExceptionForUsersData class. Initializes a new instance of the NotificationExceptionForUsersData class.
public NotificationExceptionForUsersData(Id? id, string? machineName, string? source, string? description, string? info)
Parameters
id
IdThe Id.
machineName
stringThe machine name.
source
stringThe source of the notification.
description
stringError description.
info
stringThe exception information.
NotificationExceptionForUsersData(string, Exception?, string?, string?, Func<Exception, string>?, string)
Initializes a new instance of the NotificationExceptionForUsersData class.
public NotificationExceptionForUsersData(string source, Exception? e, string? description, string? info, Func<Exception, string>? getExceptionDescription, string machineName)
Parameters
source
stringThe source.
e
ExceptionThe e.
description
stringThe description.
info
stringThe info. This can be null.
getExceptionDescription
Func<Exception, string>The get exception description callback.
machineName
stringThe name of the machine with the error.
Exceptions
- ArgumentNullException
source.
Properties
Description
Gets or sets what is the description for the exception.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.NotificationApplicationExceptionDataDescription })]
public string? Description { get; set; }
Property Value
Info
Gets or sets additional info related to the exception.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.NotificationApplicationExceptionDataInfo })]
public string? Info { get; set; }
Property Value
MachineName
Gets or sets the machine name where the exception occurred.
public string? MachineName { get; set; }
Property Value
Source
Gets or sets what is the source of the exception.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.NotificationApplicationExceptionDataSource })]
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()