Class ErrorData
Error Data
Inheritance
System.Object
ErrorData
Implements
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class ErrorData : Object, IErrorData
Constructors
ErrorData(String, String, String, Int64, IDictionary<Int64, ErrorStatusType>)
Error data which is calculated based on logged and current parameter channel data.
Declaration
public ErrorData(string name, string description, string groupName, long firstOccurrenceTimestamp, IDictionary<long, ErrorStatusType> timestampAndStatusSeries)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the error. |
System.String | description | Description of the error. |
System.String | groupName | Group name. |
System.Int64 | firstOccurrenceTimestamp | First timestamp when error is raised. |
System.Collections.Generic.IDictionary<System.Int64, ErrorStatusType> | timestampAndStatusSeries | Timestamp and status series where status changes. |
Properties
Description
Gets the description.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
FirstOccurrenceTimestamp
The time of the first instance of an error. Set is required as the packet can process in any order.
Declaration
public long FirstOccurrenceTimestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
GroupName
Gets the group name.
Declaration
public string GroupName { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets the name of the error.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
TimestampAndStatusSeries
Timestamp and error status series.
Declaration
public IDictionary<long, ErrorStatusType> TimestampAndStatusSeries { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Int64, ErrorStatusType> |