SysUtilsReportErrorToEventLog Method (String, String, Exception) |
Reports the exception with a prefix message to the windows event log.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic static void ReportErrorToEventLog(
string eventSource,
string addedMessage,
Exception exception
)
Public Shared Sub ReportErrorToEventLog (
eventSource As String,
addedMessage As String,
exception As Exception
)
public:
static void ReportErrorToEventLog(
String^ eventSource,
String^ addedMessage,
Exception^ exception
)
Parameters
- eventSource
- Type: SystemString
The event source string. Needs to exist in order to successfully write to the event log. - addedMessage
- Type: SystemString
The additional text that will prefix the error message. - exception
- Type: SystemException
The exception object from which the error message is generated.
See Also