PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Backend Class/Logging­Backend Methods/Logging­Backend.​Get­Thread­Context Method

LoggingBackend.GetThreadContext Method

Returns the ThreadLoggingContext for the current Thread.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.2.11.0 (6.2.11.0)
Syntax
C#
public ThreadLoggingContext GetThreadContext()

Return Value

Type: ThreadLoggingContext
See Also