PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Suspendable­Logging­Context Class/Suspendable­Logging­Context Properties/Suspendable­Logging­Context.​Thread­Context Property

SuspendableLoggingContext.ThreadContext Property

Gets the ThreadLoggingContext for the thread in which the current LoggingContext is currently executed.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public override ThreadLoggingContext ThreadContext { get; }

Property Value

Type: ThreadLoggingContext
See Also