PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Logging­Execution­Context­Data Class

LoggingExecutionContextData Class

Represents data associated with a logging context but that should be passed via execution context rather than the thread context. Sort-of immutable. Stored in an AsyncLocal in a kind of a "stack" maintained by the Parent parent property. Previously known as ContextLocalData.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.Contexts.LoggingExecutionContextData

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public class LoggingExecutionContextData

The LoggingExecutionContextData type exposes the following members.

Constructors
  NameDescription
Protected methodLoggingExecutionContextData
Initializes a new instance of this class.
Methods
  NameDescription
Public methodClone
Returns a shallow copy of this instance.
See Also