Class ExceptionEvent
Represents an exception event recorded by instrumentation
Inheritance
System.Object
ExceptionEvent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.dll
Syntax
[Serializable]
[BSONSerializable("16DA09DD-AB74-469A-A1B6-A06BEA42EDF8")]
public class ExceptionEvent : Event, IArchiveLoggable, IBSONSerializable, IBSONDeserializable, IJSONWritable, IErrorInstrument, IProblemClass, IInstrumentClass
Constructors
ExceptionEvent(Exception)
Declaration
protected ExceptionEvent(Exception error)
Parameters
Type |
Name |
Description |
System.Exception |
error |
|
ExceptionEvent(String, Exception)
Declaration
protected ExceptionEvent(string source, Exception error)
Parameters
Type |
Name |
Description |
System.String |
source |
|
System.Exception |
error |
|
ExceptionEvent(String, Exception, DateTime)
Declaration
protected ExceptionEvent(string source, Exception error, DateTime utcTime)
Parameters
Type |
Name |
Description |
System.String |
source |
|
System.Exception |
error |
|
System.DateTime |
utcTime |
|
Fields
BSON_FLD_EXCEPTION_TYPE
Declaration
public const string BSON_FLD_EXCEPTION_TYPE = "etp"
Field Value
Type |
Description |
System.String |
|
Properties
ExceptionType
Declaration
public string ExceptionType { get; }
Property Value
Type |
Description |
System.String |
|
Methods
AggregateEvent(Datum)
Declaration
protected override void AggregateEvent(Datum evt)
Parameters
Type |
Name |
Description |
Datum |
evt |
|
Overrides
MakeAggregateInstance()
Declaration
protected override Datum MakeAggregateInstance()
Returns
Overrides
Record(IInstrumentation, Exception)
Create event from exception instance
Declaration
public static void Record(IInstrumentation inst, Exception error)
Parameters
Record(IInstrumentation, String, Exception)
Create event from exception instance and source
Declaration
public static void Record(IInstrumentation inst, string source, Exception error)
Parameters
Type |
Name |
Description |
IInstrumentation |
inst |
|
System.String |
source |
|
System.Exception |
error |
|
Record(IInstrumentation, String, Exception, DateTime)
Create event from exception instance as of utcTime
Declaration
public static void Record(IInstrumentation inst, string source, Exception error, DateTime utcTime)
Parameters
Type |
Name |
Description |
IInstrumentation |
inst |
|
System.String |
source |
|
System.Exception |
error |
|
System.DateTime |
utcTime |
|
SerializeToBSON(BSONSerializer, BSONDocument, IBSONSerializable, ref Object)
Declaration
public override void SerializeToBSON(BSONSerializer serializer, BSONDocument doc, IBSONSerializable parent, ref object context)
Parameters
Overrides
SummarizeAggregation()
Declaration
protected override void SummarizeAggregation()
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Implements
Extension Methods