Click or drag to resize

SysUtilsReportToEventLog Method (String, String, EventLogEntryType)

Reports a message to the windows event log.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public static void ReportToEventLog(
	string eventSource,
	string message,
	EventLogEntryType type
)

Parameters

eventSource
Type: SystemString
The event source string. Needs to exist in order to successfully write to the event log.
message
Type: SystemString
The message to write.
type
Type: System.DiagnosticsEventLogEntryType
The message type.
See Also