|   | 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.DiagnosticsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxpublic static void SwallowException(
	Exception ex,
	string message = null,
	string details = null,
	MessageFlags additionalFlags = MessageFlags.None
)
Public Shared Sub SwallowException ( 
	ex As Exception,
	Optional message As String = Nothing,
	Optional details As String = Nothing,
	Optional additionalFlags As MessageFlags = MessageFlags.None
)
public:
static void SwallowException(
	Exception^ ex, 
	String^ message = nullptr, 
	String^ details = nullptr, 
	MessageFlags additionalFlags = MessageFlags::None
)
static member SwallowException : 
        ex : Exception * 
        ?message : string * 
        ?details : string * 
        ?additionalFlags : MessageFlags 
(* Defaults:
        let _message = defaultArg message null
        let _details = defaultArg details null
        let _additionalFlags = defaultArg additionalFlags MessageFlags.None
*)
-> unit GSF.Diagnostics.Logger.SwallowException = function(ex, message, details, additionalFlags);
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
See Also