Click or drag to resize

SysUtilsReportErrorToEventLog Method (String, Exception)

Reports an exception 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 ReportErrorToEventLog(
	string eventSource,
	Exception ex
)

Parameters

eventSource
Type: SystemString
The event source string. Needs to exist in order to successfully write to the event log.
ex
Type: SystemException
The exception object from which the error message is generated.
See Also