SysUtilsReportWarningToEventLog Method |
Reports an exception to the windows event log as warning.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic static void ReportWarningToEventLog(
string eventSource,
string addedMessage,
Exception ex
)
Public Shared Sub ReportWarningToEventLog (
eventSource As String,
addedMessage As String,
ex As Exception
)
public:
static void ReportWarningToEventLog(
String^ eventSource,
String^ addedMessage,
Exception^ ex
)
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. - ex
- Type: SystemException
The exception object from which the error message is generated.
See Also