| TraceTargetEnableTraceFail Property |
Forward
Fatal to
Fail(String) (Instead of
TraceError(String))
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public bool EnableTraceFail { get; set; }
Public Property EnableTraceFail As Boolean
Get
Set
Dim instance As TraceTarget
Dim value As Boolean
value = instance.EnableTraceFail
instance.EnableTraceFail = value
member EnableTraceFail : bool with get, set
Property Value
Type:
BooleanRemarks
Trace.Fail can have special side-effects, and give fatal exceptions, message dialogs or Environment.FailFast
See Also