Click or drag to resize

LogManagerThrowConfigExceptions Property

Gets or sets a value indicating whether NLogConfigurationException should be thrown.

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static bool? ThrowConfigExceptions { get; set; }

Property Value

Type: NullableBoolean
A value of if exception should be thrown; otherwise, .
Remarks
This option is for backwards-compatibility. By default exceptions are not thrown under any circumstances.
See Also