 | ThreadAgnosticImmutableAttribute Class |
Marks the layout or layout renderer as thread independent - it producing correct results
regardless of the thread it's running on.
Layout or layout-renderer depends on
Properties or
Exception,
and requires that LogEvent-state is recognized as immutable.
Inheritance HierarchySystemObject
SystemAttribute
NLog.ConfigThreadAgnosticImmutableAttribute
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic sealed class ThreadAgnosticImmutableAttribute : Attribute
Public NotInheritable Class ThreadAgnosticImmutableAttribute
Inherits Attribute
Dim instance As ThreadAgnosticImmutableAttribute
[<SealedAttribute>]
type ThreadAgnosticImmutableAttribute =
class
inherit Attribute
endThe ThreadAgnosticImmutableAttribute type exposes the following members.
Constructors
Remarks
See Also