Table of Contents

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

id Id

The Id.

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 Id

The Id.

machineName string

The machine name.

source string

The source of the notification.

description string

Error description.

info string

The 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 string

The source.

e Exception

The e.

description string

The description.

info string

The info. This can be null.

getExceptionDescription Func<Exception, string>

The get exception description callback.

machineName string

The 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

string

string

Info

Gets or sets additional info related to the exception.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.NotificationApplicationExceptionDataInfo })]
public string? Info { get; set; }

Property Value

string

string

MachineName

Gets or sets the machine name where the exception occurred.

public string? MachineName { get; set; }

Property Value

string

string

Source

Gets or sets what is the source of the exception.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.NotificationApplicationExceptionDataSource })]
public string? Source { get; set; }

Property Value

string

string

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()

Returns

string

A string that represents this instance.