UAOOI.ProcessObserver.RealTime.Processes Namespace
UAOOI.ProcessObserver.RealTime.Utils.Collections.Generic Namespace
UAOOI.ProcessObserver.RealTime

EventLogMonitor Constructor

Creates an event log with the application-defined event identifier, and application-defined category to the event log, using the "CASCommServer" registered event source. The category can be used by the event viewer to filter events in the log.

Namespace:  UAOOI.ProcessObserver.RealTime.Processes
Assembly:  RealTime (in RealTime.dll)

Syntax


public EventLogMonitor(
	string message,
	EventLogEntryType type,
	int eventID,
	short category
)
Public Sub New ( _
	message As String, _
	type As EventLogEntryType, _
	eventID As Integer, _
	category As Short _
)
public:
EventLogMonitor(
	String^ message, 
	EventLogEntryType^ type, 
	int^ eventID, 
	short^ category
)

Parameters

message
Type: String
message to be stored
type
Type: UAOOI.ProcessObserver.RealTime.Processes..::..EventLogEntryType
One of the EventLogEntryType values.
eventID
Type: Int32
The application-specific identifier for the event.
category
Type: Int16
The application-specific subcategory associated with the message.