Click or drag to resize

AdapterBaseOnStatusMessage(MessageLevel, String, String, MessageFlags) Method

Raises the StatusMessage event and sends this data to the Logger.

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

Parameters

level  MessageLevel
The MessageLevel to assign to this message
status  String
New status message.
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