Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Backend Class / Logging­Backend Methods / Logging­Backend.​Create­Thread­Context Method

LoggingBackend.CreateThreadContext Method

Creates a new ThreadLoggingContext.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.6.0 (6.1.6.0)
Syntax
C#
protected virtual ThreadLoggingContext CreateThreadContext()

Return Value

Type: ThreadLoggingContext
A new ThreadLoggingContext.
See Also