SysUtilsReportWarningToEventLog Method
Reports an exception to the windows event log as warning.
Namespace: MFiles.VAF.CommonAssembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
public static void ReportWarningToEventLog(
string eventSource,
string addedMessage,
Exception ex
)
Parameters
- eventSource String
- The event source string. Needs to exist in order to successfully write to the event log.
- addedMessage String
- The additional text that will prefix the error message.
- ex Exception
- The exception object from which the error message is generated.