 | LogFactoryThrowExceptions Property |
Gets or sets whether NLog should rethrow its own exceptions into the application instead of keeping them suppressed.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic bool ThrowExceptions { get; set; }Public Property ThrowExceptions As Boolean
Get
Set
Dim instance As LogFactory
Dim value As Boolean
value = instance.ThrowExceptions
instance.ThrowExceptions = value
member ThrowExceptions : bool with get, set
Property Value
Type:
Boolean
RemarksDefault:
and should only be set to
for unit-tests or for last resort troubleshooting, when
ThrowConfigExceptions does not work.
See Also