Click or drag to resize

AdapterBaseOnProcessException(MessageLevel, Exception, String, MessageFlags) Method

Raises the ProcessException event.

Namespace: GSF.TimeSeries.Adapters
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.181-beta
Syntax
protected virtual void OnProcessException(
	MessageLevel level,
	Exception exception,
	string eventName = null,
	MessageFlags flags = MessageFlags.None
)
View Source

Parameters

level  MessageLevel
The MessageLevel to assign to this message
exception  Exception
Processing Exception.
eventName  String  (Optional)
A fixed string to classify this event; defaults to null.
flags  MessageFlags  (Optional)
MessageFlags to use, if any; defaults to None.
Remarks
should be a constant string value associated with what type of message is being generated. In general, there should only be a few dozen distinct event names per class. Exceeding this threshold will cause the EventName to be replaced with a general warning that a usage issue has occurred.
See Also