 | LogManagerThrowConfigExceptions Property |
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntaxpublic static bool? ThrowConfigExceptions { get; set; }
Public Shared Property ThrowConfigExceptions As Boolean?
Get
Set
Dim value As Boolean?
value = LogManager.ThrowConfigExceptions
LogManager.ThrowConfigExceptions = value
static member ThrowConfigExceptions : Nullable<bool> with get, set
Property Value
Type:
NullableBooleanA value of
true if exception should be thrown; otherwise,
false.
Remarks
This option is for backwards-compatibility.
By default exceptions are not thrown under any circumstances.
See Also