| 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 Hierarchy
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax public sealed class ThreadAgnosticImmutableAttribute : Attribute
Public NotInheritable Class ThreadAgnosticImmutableAttribute
Inherits Attribute
Dim instance As ThreadAgnosticImmutableAttribute
[<SealedAttribute>]
type ThreadAgnosticImmutableAttribute =
class
inherit Attribute
end
The ThreadAgnosticImmutableAttribute type exposes the following members.
Constructors Remarks See Also