Click or drag to resize

LoggerSwallowException Method

Logs that a first chance exception was intentionally not handled for the provided reason. In the LogFileViewer it will filter messages differently if it was indicated that they were swallowed.

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static void SwallowException(
	Exception ex,
	string message = null,
	string details = null,
	MessageFlags additionalFlags = MessageFlags.None
)
View Source

Parameters

ex  Exception
the exception that was swallowed
message  String  (Optional)
message to include, such as a reason why it was swallowed.
details  String  (Optional)
additional details.
additionalFlags  MessageFlags  (Optional)
additional flags that can be set with this swallowed exception.
See Also